添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

注意系统发行版本为Ubuntu 12.04(下面这些软件我在Ubuntu 12.04.x 64bit系统里常用的软件)
很多软件大家可能都不知道是干什么用的,请您自己在https://www.google.com里搜索吧。或者直接装到系统上去,反正装上去又不会怀孕
PAC Manager(替换SecureCRT)
官方下载:http://sourceforge.net/projects/pacmanager/files/
cd ~/Downloads
sudo dpkg -i pac-*.deb
sudo apt-get -f install
sudo dpkg -i pac-*.deb

SSH服务(开启ubuntu中的ssh服务)
sudo apt-get install openssh-server
sudo service ssh start/stop/restart 启动/停止/启动服务

Cisco Packet Tracer 5.3(思科网络模拟器)
下载: http://dl.dbank.com/c0xy2o66ob
chmod +x PacketTracer531_i386_installer-deb.bin
sudo ./PacketTracer531_i386_installer-deb.bin

GNS3网络模拟器
从官方网站下载两个文件(若官方发布了新版本,直接下载新版本即可):
①http://www.gns3.net/download
GNS3 v0.8.3.1 tgz archive
②http://www.gns3.net/dynamips/
Dynamips 0.2.8-RC3-community binary for Linux (32-bit)
Dynamips 0.2.8-RC3-community binary for Linux (64-bit)
创建个文件夹:
kashu@ubuntu:~$ mkdir /opt/GNS3/
解压文件:
kashu@ubuntu:~/Downloads$ tar -zxf GNS3-0.8.3.1-src.tar.gz
移动解压的所有文件到GNS3文件夹中:
kashu@ubuntu:~/Downloads$ mv GNS3-0.8.3.1-src/* /opt/GNS3/
在GNS3中创建一个Dynamips文件夹:
kashu@ubuntu:~/Downloads$ mkdir /opt/GNS3/Dynamips/
把dynamips-0.2.8-RC3-community-x86_64.bin移动到该文件夹内:
kashu@ubuntu:~/Downloads$ mv ./Dynamips/dynamips-0.2.8-RC3-community-x86_64.bin /opt/GNS3/Dynamips/
给dynamips-0.2.8-RC3-community-x86_64.bin添加x权限:
kashu@ubuntu:~/Downloads$ chmod +x /opt/GNS3/Dynamips/dynamips-0.2.8-RC3-community-x86_64.bin
运行GNS3:
kashu@ubuntu:~/Downloads$ sudo python /opt/GNS3/gns3

QQ 2013
下载:http://www.longene.org/download/WineQQ2013SP6-20140102-Longene.deb
如果是64位系统,还需安装这个包:sudo apt-get install ia32-libs
sudo dpkg -i WineQQ2013SP6-20140102-Longene.deb

fcitx(小企鹅输入法,安装五笔拼音输入法、搜狗拼音输入法、谷歌拼音输入法)
官方网站安装说明:https://fcitx-im.org/wiki/Install_(Ubuntu)
sudo apt-get purge ibus
sudo apt-get autoremove
sudo add-apt-repository ppa:fcitx-team/nightly
sudo add-apt-repository ppa:fcitx-team/stable
sudo apt-get update
五笔拼音输入法:sudo apt-get install fcitx-table-wbpy
搜狗拼音输入法:sudo apt-get install fcitx-sogoupinyin
谷歌拼音输入法:sudo apt-get install fcitx-googlepinyin
配置:fcitx-config-gtk3

preload(自适应预载守护进程)
sudo apt-get install preload

shutter截图工具
sudo apt-get install shutter

NitroShare(Linux/Windows/MAC跨平台文件传输工具)
sudo add-apt-repository ppa:george-edison55/nitroshare
sudo apt-get update
sudo apt-get install nitroshare

VLC媒体播放器
sudo add-apt-repository ppa:djcj/vlc-stable
sudo apt-get update
sudo apt-get install vlc

WebEx Player视频播放器(其中的Recorder无法使用)
安装好Wine后,直接鼠标双击WebEx_Recorder_and_Player.msi此安装程序即可安装,就这么简单。
然后就可以在Ubuntu中看*.wrf格式的视频了。

PSP仿真器(http://ppsspp.org/downloads.html)
sudo add-apt-repository ppa:noobslab/apps
sudo apt-get update
sudo apt-get install ppsspp

startdict(星际译王)
sudo apt-get install stardict
离线词库下载地址:http://abloz.com/huzheng/stardict-dic/zh_CN/
如:下载一个oxford-gb dictionary(en – zh_CN) 牛津现代英汉双解词典
然后把它全部解压出来的内容直接移动到/usr/share/stardict/dic目录里即可

chromium浏览器
sudo apt-get install chromium-browser
Adobe Flash Player插件
sudo apt-get install flashplugin-installer

Wine稳定版
export WINEPREFIX=$HOME/wine32
export WINEARCH=win32
我还把这两个变量写入到.bashrc文件中了,让它们永久生效
echo ‘export WINEPREFIX=$HOME/wine32′ >> ~/.bashrc
echo ‘export WINEARCH=win32′ >> ~/.bashrc
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update && sudo apt-get install wine1.6.2

Adobe Reader(PDF阅读器)
sudo apt-add-repository “deb http://archive.canonical.com/ $(lsb_release -sc) partner”
sudo apt-get update
sudo apt-get install acroread

htop(交互式进程查看器)
sudo apt-get install htop

TLP(Linux高级电源管理工具,建议笔记本装上)
官方说明:http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
tlp (PPA) – Power saving
tlp-rdw (PPA) – optional, Radio Device Wizard
tp-smapi-dkms (universe) – optional ThinkPad only, tp-smapi is needed for battery charge thresholds and ThinkPad specific status output of tlp-stat
acpi-call-tools (PPA) – optional ThinkPad only, acpi-call is needed for battery charge thresholds on Sandy Bridge and newer models (X220/T420, X230/T430 et al.)
联想的ThinkPad把这两个也一并安装上:sudo apt-get install tp-smapi-dkms acpi-call-tools
安装完后重启生效,要立即生效可执行:sudo tlp start

Audacious音乐播放器,推荐
sudo apt-get install audacious

pdf2htmlEX:(高保真PDF转HTML工具)
sudo add-apt-repository ppa:coolwanglu/pdf2htmlex && sudo apt-get update && sudo apt-get install pdf2htmlEX
上面一步到位,下面仅仅重复上面
https://launchpad.net/~coolwanglu/+archive/pdf2htmlex
su – root
echo “deb http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu $(lsb_release -sc) main” >> /etc/apt/sources.list
echo “deb-src http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu $(lsb_release -sc) main” >> /etc/apt/sources.list
sudo apt-get update
sudo apt-get install pdf2htmlEX

Google Earth(谷歌地球)
Download: http://www.google.com/intl/en/earth/download/ge/agree.html
sudo dpkg -i google-earth-stable_current_amd64.deb
sudo apt-get -f install(若执行上面的安装后提示有依赖包要装,就执行此命令安装即可)
sudo dpkg -i google-earth-stable_current_amd64.deb(若执行了上面那条命令,需重新执行此安装命令)

Openshot(视频编辑器,推荐)
sudo apt-get install openshot

ocenaudio(音频编辑器,推荐)
https://launchpad.net/~trebelnik-stefina/+archive/ocenaudio
http://www.ocenaudio.com.br/download

酷我音乐盒,推荐
https://github.com/LiuLang/kwplayer-packages
sudo apt-get install kwplayer_3.2.7-1_all.deb

sudo add-apt-repository ppa:timxx/xmradio
sudo apt-get update
sudo apt-get install xmradio

Liferea(RSS新闻阅读器)
apt-get install liferea
或者(官网http://lzone.de/liferea/install.htm)
add-apt-repository ppa:liferea/development
apt-get update
apt-get install liferea

add-apt-repository(用不了add-apt-repository这个命令就安装下面那个)
apt-get install python-software-properties

weather-indicator(天气预报指示器)
sudo apt-get install indicator-weather
or(推荐用下面那个天气预报小工具)
sudo add-apt-repository ppa:atareao/atareao
sudo apt-get update
sudo apt-get install my-weather-indicator

indicator-multiload(系统负载指示器)
sudo apt-get install indicator-multiload

Psensor(硬件温度指示器)
sudo apt-get install lm-sensors hddtemp psensor

Caffeine(看视频时防止屏保和sleep)
sudo add-apt-repository ppa:caffeine-developers/ppa
sudo apt-get update
sudo apt-get install caffeine

indicator-brightness(屏幕亮度指示器)
sudo add-apt-repository ppa:noobslab/indicators
sudo apt-get update
sudo apt-get install indicator-brightness

apt-fast(代替apt-get,提升软件下载速度,推荐)
sudo add-apt-repository ppa:apt-fast/stable && sudo apt-get update && sudo apt-get install apt-fast
上面一步到位,下面仅仅重复上面
su – root
echo “deb http://ppa.launchpad.net/apt-fast/stable/ubuntu $(lsb_release -sc) main” >> /etc/apt/sources.list
echo “deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu $(lsb_release -sc) main” >> /etc/apt/sources.list
apt-get update
apt-get install apt-fast -y

Ubuntu-Tweak
sudo add-apt-repository ppa:tualatrix/ppa
sudo apt-get update
sudo apt-get install ubuntu-tweak

ubuntu-restricted-extras(强推)
sudo apt-get install ubuntu-restricted-extras
sudo apt-get install libdvdread4
sudo /usr/share/doc/libdvdread4/install-css.sh

wavemon(无线信号检测软件,推荐)
sudo apt-get install wavemon

Nessus(强悍的远程漏洞扫描器)
详见:http://www.kashu.org/install-nessus-on-ubuntu.html

SimpleScreenRecorder屏幕录像软件,推荐
sudo add-apt-repository ppa:maarten-baert/simplescreenrecorder
sudo apt-get update
sudo apt-get install simplescreenrecorder

optipng(png图片专用压缩利器)
sudo apt-get install optipng

FF Multi Converter(多功能文件转换器 https://sites.google.com/site/ffmulticonverter/download
sudo add-apt-repository ppa:ffmulticonverter/stable
sudo apt-get update
sudo apt-get install ffmulticonverter

meld(图形化的diff和文件合并工具)
sudo apt-get install meld

VLC(多媒体播放器)
sudo add-apt-repository ppa:n-muench/vlc2
sudo apt-get update
sudo apt-get install vlc

Wireshark(著名的协议分析仪)
sudo add-apt-repository ppa:dreibh/ppa
sudo apt-get update
sudo apt-get install wireshark

XBMC(媒体中心)
sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install xbmc

uGet(文件下载器,堪比迅雷)
sudo add-apt-repository ppa:plushuang-tw/uget-stable
sudo apt-get update
sudo apt-get install uget aria2
配置参数:–enable-rpc=true -D –check-certificate=false –disable-ipv6=true

Dconf-Editor
sudo apt-get install dconf-tools

7z压缩工具
sudo apt-get install p7zip-full

conky
sudo apt-get install conky

iftop(监控流量)
sudo apt-get install iftop

nethogs(监控流量)
sudo apt-get install nethogs

UNetbootin(制作GNU/Linux启动U盘)
sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt-get update
sudo apt-get install unetbootin

Logout Session
sudo add-apt-repository ppa:upubuntu-com/apps
sudo apt-get update
sudo apt-get install logout-session

XAMPP
官方下载:http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/
把软件移动到/opt目录里:sudo mv ./sudo mv xampp-linux-x64-1.8.3-1-installer.run /opt
添加可执行权限:sudo chmod +700 xampp-linux-x64-1.8.3-1-installer.run
安装:sudo ./xampp-linux-x64-1.8.3-1-installer.run

Master PDF Editor(Linux中的PDF编辑器、阅读器)

1、官方下载:http://code-industry.net/free-pdf-editor.php
2、tar -zxf 解压
3、使用:kashu@kashu:/opt/MasterPDFEditor$ ./pdfeditor

plink(ssh跳墙时使用)
sudo apt-get install plink
使用示例:plink -C -D 127.0.0.1:43210 -N -pw 12345 [email protected]

NMAP(安装最新版NMAP)
shell脚本如下,直接在Ubuntu系统中运行此脚本就能自动安装好最新版的NMAP:
http://www.kashu.org/ubuntu%E9%87%8C%E5%AE%89%E8%A3%85%E6%9C%80%E6%96%B0%E7%89%88%E7%9A%84nmap.html

mupdf(轻量级XPS和PDF文档阅读器)
sudo apt-get install mupdf
需要使用命令行启用该软件,使用示例:mupdf kashu.xps 或 mupdf kashu.pdf

chmsee(chm格式文件阅读器,chm viewer)
sudo apt-get install chmsee

TeamViewer
官方下载:https://www.teamviewer.com/en/download/linux.aspx
安装:sudo dpkg -i teamviewer_linux_x64.deb
如果提示有依赖包要安装,直接运行sudo apt-get -f install
最后再执行一次安装即可:sudo dpkg -i teamviewer_linux_x64.deb

VMware Workstation
安装方法(包含下载、安装、激活、序列号)
http://www.kashu.org/ubuntu%E4%B8%AD%E5%AE%89%E8%A3%85vmware-workstation.html

XMind(思维导图)
官方下载:http://www.xmind.net/download/linux/
sudo dpkg -i xmind-linux-3.4.0.201311050558_amd64.deb
sudo apt-get -f install
sudo dpkg -i xmind-linux-3.4.0.201311050558_amd64.deb

HandBrake(视频转码器)
把软件源加入到/etc/apt/sources.list文件中,然后sudo apt-get update &
sudo vim /etc/apt/sources.list
deb http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu precise main
deb-src http://ppa.launchpad.net/stebbins/handbrake-releases/ubuntu precise main
其它操作系统:
http://handbrake.fr/downloads.php
其它Ubuntu发行版:
https://launchpad.net/~stebbins/+archive/handbrake-releases

I-Nex(类似于Windows下的CPU-Z)
sudo add-apt-repository ppa:i-nex-development-team/stable
sudo add-apt-repository ppa:nemh/gambas3
sudo apt-get update
sudo apt-get install i-nex

Audio Recorder(录音软件)
To install Audio-Recorder in Ubuntu/Linux Mint open Terminal (Press Ctrl+Alt+T) and copy the following commands in the Terminal:
sudo add-apt-repository ppa:osmoma/audio-recorder
sudo apt-get update
sudo apt-get install audio-recorder

Install additional codecs with this command:
sudo apt-get install gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad

prelink(通过预链接,减少软件启动时检测、链接的时间,从而加快软件启动速度)
sudo apt-get install prelink
以管理员身份编辑/etc/default/prelink,将其中的PRELINKING=unknown 改为 PRELINKING=yes。
在终端中运行如下命令,初始化Prelink数据库:sudo /etc/cron.daily/prelink
该过程需要数分钟的时间,作用相当于建立“缓存”,预先为各个软件链接好启动所需的共享库,使得以后每次启动软件不必再临时链接。

BleachBit(Linux下的清道夫,本人更推荐使用Ubuntu Tweak里janitor所提供的清理功能)
sudo apt-get install bleachbit

XnConvert:跨平台图片批处理专家,推荐
http://www.xnview.com/en/xnconvert/
sudo dpkg -i XnConvert-linux-x64.deb

phatch(批量图片处理工具,很强)
sudo apt-get install phatch

E4rat
专为加速Linux启动时间设置的工具。通过对物理文件分配,借此减小旋转迟延,增大磁盘交换速率,借此加速开机启动时间。 E4rat只为Ext4格式设计,对其他文件系统不起作用。您在使用时,注意保护敏感数据,避免以外发生。
安装方法:http://www.kashu.org/how-to-cut-your-linux-pcs-boot-time-in-half-with-e4rat.html

cheese(要用webcam就装这个)

sudo apt-get install cheese

显示Ubuntu所有自启动应用程序(在startup里面默认是隐藏的)

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

注销当前用户的命令: logout-session

把LibreOffice的英文界面改成中文:sudo apt-get install libreoffice-l10n-zh-cn libreoffice-help-zh-cn

然后,打开LibreOffice Writer,点击Tools—-Options—-Language Settings—-Languages—-User interface改成Chineses,重新打开任意一个LibreOffice套件都是中文界面的了。

Ultimate tutorial: Install Microsoft Office 2010 on Ubuntu with font smoothing using PlayOnLinux/WINE

Mar 3

Posted by

I love Microsoft Office. It is fast, it is effective (performance-wise), and the Ribbon UI is just sexy. And I am not even kidding. I am dead serious.

A loyal Ubuntu user since 8.04 Hardy Heron, yet I can never get along with OpenOffice. LibreOffice has come a long way lately, but the retro Windows XP UI annoys me days after days. I love Ribbon and I am not afraid to show it.

Natively, Microsoft Office 2010 is not a Ubuntu application. The day when Microsoft brings their almighty Office suit to Linux will come soon, just not in this world.

However, it does not stop me from getting it to run on my beloved Ubuntu set up, well, after numerous of fail endeavours.

The main reason I decide to write this instruction, is tutorials I found in Google are pretty much unclear, vague and all over the places, some work, some do not, some cause segmentation faults, diarrhea, syphilis, infection with H7N9… bla bla.

This instruction is merely a gathered version of stuff, in order to make it easier for you all.

So here it is – an ultimate, all in one Microsoft Office 2010 instruction.

A clichéd warning: I am not responsible for fail-to-boot system, dead hard drive, thermonuclear war, or you getting fail assignments because this tutorial somehow does not apply to you.

I break the procedure down into 6 steps:

Step 1:  Install PlayOnLinux

In brief, Office runs from Wine. For those who don’t know, Wine is not a Windows emulator, although it is. Haha, I’ll stop bullshiting. You can read more from the Wiki .

Based on Wine, PlayOnLinux is a handy solution, allows users to install well-known Windows applications in a direct approach, AppStore-style.

Download the latest version of PlayOnLinux for Ubuntu from here .

Locate the .deb file, double-click on it and install it with Ubuntu Software Centre.

I recommend not to install from the from the official repository, which is obsolete. I did not test it myself – at least I was told not to do so.

Step 2: Install Microsoft Office 2010

After the installation, this is how PlayOnLinux looks like:

Click on “Install”. With the Install window now pops up, search for Microsoft Office. After the selection, hit “Install”.

When the installation wizard emerges, hit ‘Next’.

The wizards will ask you to select the installation file. Do what it says. Once you have located the ‘setup.exe’, and see a screen like below, click ‘Next’.

The wizard then proceeds and downloads Wine 1.5.16. I don’t like this step, but it’s part of the PlayOnLinux script and you have to accept it. I’ll explain why I don’t like this version below.

Strings of under-the-hood stuff is conducted afterwards. This is why you ditch Wine for PlayOnLinux, the client does all the extra steps for you in background.

Very soon you will see this familiar, old-timer screen. Now you are in the familiar zone, do what you like, but the burden in on you now. I personally install the Standard version.

Sit back and relax, have a cup of water, may be even *do-it* yourself. It might take a while…

As soon as you see this screen, voila ! Hit close, and again some under the hood stuff occurs in the background.

Please ignore any errors like the one below, you are doing fine.

Give Word or Excel a test run =))

Install missing wingdng2.ttf and wingdng3.ttf fonts (updated 24 April)

For now, Office installation misses 2 fonts wingdng2.ttf and wingdng3.ttf , which makes the Bullets fail to displays (they look like blocks).

To fix the issue, download the fonts , extracts the package, and paste them into the font folder (in my case it’s ~/.PlayOnLinux/wineprefix/Office2010/drive_c/windows/Fonts).

Now Bullets render correctly.

From now on, you may want to skip the rest of the article, the below steps are cosmetic, hence optional.

Step 3: Cosmetic surgery – font anti-aliasing.

Microsoft Office installation has completed, but it ain’t ready yet. Well, if you possess clear bright eyes and happy with the current state of Office, the underneath stuff is redundant. Otherwise, proceed. Being a perfectionist myself, I can’t stand blurry font, retro Windows classic look and the dodgy performance, those teeny-tiny issues drive me nuts. I won’t rest till I overcome them.

The first thing to do is upgrading Wine. Remember the script installed Wine 1.5.16. Select Tools – > Manage Wine Version. Install version 1.5.28 instead. The reason behind this, is Wine 1.5.17 has fixed font aliasing bug.

After Wine 1.5.28 installation finished, get back to the main window, click Configure. On the left side, select Office2010. Under the tab General, at Wine version, alter it to WIne 1.5.28.

Under tab ‘Install Components’, install the following option in respective order:

  • ‘Microsoft Core Fonts’
  • ‘Disable Crash Dialog’ -> my personal favorite.
  • ‘FontSmoothRGB’ -> this one is exceptionally crucial.
  • LunaTheme -> it’s actually Royal Theme
  • ‘Tahoma’
  • After this, you can simulate a Windows reboot. Select tab Wine -> Windows reboot. Give it a moment, then you can test it by clicking at Configure Wine. If you are lucky, the fonts should be anti-aliased for now.

    Do not mess around much with the configuration, you are on own risk. However, I did switch the theme, tab Desktop Integration, theme Royal, colour Royal Noir.

    At this step, you can see we’ve been a long way. Explicit comparison is shown underneath, on the left is the default Wine configuration, on the right is what we did so far with PlayOnLinux.

    Step 4: more cosmetic change.

    So far, Office has a relatively decent look and feel, with font smoothen and such. Nevertheless, the app use Tahoma tiny little font, which stick out like a sore thumb in my sexy system.

    Font can be changed with some help from DisplaySet, which can be download from here: http://wittswallpapers.com/Oldies/displayset.zip

    After you have extracted the compression package, open the the Configure window, under the tab Miscellaneous, click at ‘Run a .exe file… ’. Locate the install.exe

    Install DisplaySet like any other Windows application.

    Once the installation of DisplaySet is done, open the Configure window, under the tab Miscellaneous, click at ‘Run a .exe file…’ again. This time, the location is ‘~/.PlayOnLinux/wineprefix/Office2010/drive_c/Program Files/DisplaySet/DisplaySet.exe’.

    As DisplaySet is open, config it the way you like, below is my recommendation, for a seamless Ubuntu look and feel. Don’t forget to apply the setting before quitting.

    And now, frankly, the menu, the tooltips, everything has enlarged, and use Ubuntu font instead.

    For even greater theming and look change, you can read from this link: http://askubuntu.com/questions/175868/what-can-be-done-to-make-wine-look-more-integrated-into-unity

    Step 5: Complete Ubuntu integration – Dash, file association, and drive setting

    Office in the Dash

    By default, PlayOnLinux creates shortcuts on the desktop. That’s all it does, no more, no less.

    Let’s have Word, Excel and Powerpoint to show up in the dash. To achieve this, move the shortcuts to ~/.local/share/applications.

    Now you can look them up in the Dash.

    File association

    The simple approach:

    Use the File Association tool.

    From the main windows, locate from Setting -> File Associations, and config like below. If they are already there, remove them and re-add them again.

    Log-out and log-in to see the effect.

    The thorough approach:

    I’m sleepy and start yawning alot, so I’ll keep it straightforward: http://ubuntuforums.org/showthread.php?t=1940522

    Drives

    This step is my personal favorite: with Wine Configuration, you assign a certain folder to a drive. To access this, from the main window, click at Configure -> tab Wine -> Configure Wine -> tab Drives.

    A picture says 1000 words, I’d like to present how I can access RMIT folder straight from Office.

    Step 6: Office activation

    The support for Office activation from Wine and PlayOnLinux is dreadfully awful. I tried countless of times using keygens… I meant, a license, without any limited success. However, there are temporary work arounds for this problem.

    The offical PlayOnLinux approach – which fail to work for me:

    In PlayOnLinux’s Installation wizard, search for Microsoft Office 2010 Activation.

    The ‘xài chùa’ approach:

    This way, the trial period remains, but it can be extended. I have yet test this method (TBH I’ve only been using Office for less than a week), so you can test it at your own risk.

    Read here for more detail: http://hipsterlibrarian.com/2013/02/02/how-to-extend-microsoft-office-2010-trial-period-with-playonlinux/

    Okay, to be professional, here I will provide some sources:

    Bibliography:

    Easily install Microsoft Office in Ubuntu (2011), Tutonics, http://www.tutonics.com/2012/12/easily-install-microsoft-office-in.html#.UXFkNUlppcZ Accessed on 19 April

    How to Install Microsoft Office Suite 2010 in Ubuntu 12.04 Using Wine 1.5, Liberian Geek, http://www.liberiangeek.net/2012/06/how-to-install-microsoft-office-suite-2010-in-ubuntu-12-04-using-wine-1-5/ Accessed on 19 April

    How to associate files with PlayOnLinux installed MS Office (2012), Ubuntu Forum, http://ubuntuforums.org/showthread.php?t=142741 , Accessed on 19 April

    Make WINE Apps Look Better (2006), Ubuntu Forum, http://ubuntuforums.org/showthread.php?t=142741 , Accessed on 19 April

    Open the file manager. Make sure you’re in your home directory. Press ctrl + h to show hidden files. enter .wine/drive_c/Program Files/SomeDirectory and move the file there and copy/move the file there like it was any other directory.

    or you can open the terminal, use command winefile

    A common goal of setting up computers on a local network is being able to share files and folders. In order for file sharing to work, the computers must exist on the same network and Workgroup . Then, the computer sharing files must have a folder configured with the proper permissions to allow other computers in the network to access it. This tutorial will show how to configure shared folders on your Windows 7 computer and access them from Ubuntu via your home network.

    NOTE: Article updated to work for Ubuntu v10.10 & 11.04.

    Step 1: Configure the Computers on the Same Workgroup

    In order for Ubuntu and Windows 7 to easily share files, they have to be configured so that they are on the same Workgroup .

    To change your Windows 7 workgroup, see: How to Change the Workgroup in Windows 7 & Windows 8 .
    To change your Ubuntu workgroup, see: How to Enable File Sharing & Change the Workgroup in Ubuntu Linux .

    Once the Workgroup is set up to be the same on both computers, proceed to the next section of this tutorial.

    Step 2: Configure Shared Folders and Sharing Options on Your Windows PC

    If you have not already set up a shared folder on your Windows PC, you’ll need to do so now. This step involves two sub-steps for which we’ve written individual tutorials:

  • 1) Modify network sharing settings to enable network discovery and file sharing;
  • 2) Configure your shared folders (See Also: Share Libraries or Folders Using Advanced Sharing ).
  • Step 3: Access the Windows Shared Folders from Ubuntu

    To access the Windows 7 shared folder from Ubuntu, you have to use the Connect to Server option.

    From the top menu toolbar click on Places and then on Connect to Server.

    From the Service type drop-down menu, select Windows share . In the Server text filed type the name or the IP Address of the Windows 7 computer. Next, in the User name text field type a user account defined on the Windows 7 computer, with access to the shared folder. If you want to bookmark this computer and its shared folders, check the option ’Add bookmark’ and type the name that you want to use in the Bookmark name text field. Then, click Connect .

    Now you will be prompted to enter the password for the Windows 7 user account you typed earlier. Type the password and select the option ’Remember forever’ if you don’t want to be bothered again.

    Click on Connect .

    Next, the Windows 7 shared folders will open up in a new window.

    In the Windows 7 shared folders list you will also see the partitions defined on Windows 7. You can recognize them by the $ sign they all have after their letter (e.g. C$, D$). You won’t be able to access them, you can only open shared folders.

    Note: If you haven’t used the Bookmark option, next time you want to access shared folders from the same computer, go to Places -> Network and select the Windows 7 computer.

    Conclusion

    You can easily use Ubuntu to access shared folders on a Windows 7 PC that co-exists on the same Workgroup . If you want to know more about setting up other PC’s on a local network, or how to further utilize the networking features between Ubuntu Linux and Windows 7, check out the articles listed below.

    This brief tutorial shows you how to connect to Microsoft Windows 7 from Ubuntu 11.04 Natty via Remote Desktop Connection. As you may already know, connecting from a Windows PC to another Windows PC is easy, but with Ubuntu, you must enable certain options for this to be possible and this tutorial will show you how.

    Getting started:

    To get started, click ‘Start –> then search for and select ‘View advanced system settings’

    View advanced system settings

    Next, select ‘Remote’ tab and choose ‘option #2’ under Remote Desktop.

    Next, search for and select ‘Windows Firewall with Advanced Security’

    Windows Firewall with Advanced Security

    Then click ‘Inbound Rules’ and select ‘Remote Desktop (TCP-In)’

    Right-click it and select ‘Enable Rule’

    After that, go to Ubuntu Dash and search for and select ‘tsclient’

    tsclient

    When Terminal Server Client opens, type the IP Address, username and password of the Windows computer and click ‘Connect’

    Enjoy!

    That’s how you do it.

    How To Manage Packages Using apt-get, apt-cache, apt-file and dpkg Commands ( With 13 Practical Examples )

    Feb 28

    Posted by

    Debian based systems (including Ubuntu) uses apt-* commands for managing packages from the command line.

    In this article, using Apache 2 installation as an example, let us review how to use apt-* commands to view, install, remove, or upgrade packages.

    1. apt-cache search: Search Repository Using Package Name

    If you are installing Apache 2, you may guess that the package name is apache2.  To verify whether it is a valid package name, you may want to search the repository for that particular package name as shown below.

    The following example shows how to search the repository for a specific package name.

    $ apt-cache search ^apache2$
    apache2 - Apache HTTP Server metapackage

    2. apt-cache search: Search Repository Using Package Description

    If you don’t know the exact name of the package, you can still search using the package description as shown below.

    $ apt-cache search "Apache HTTP Server"
    apache2 - Apache HTTP Server metapackage
    apache2-doc - Apache HTTP Server documentation
    apache2-mpm-event - Apache HTTP Server - event driven model
    apache2-mpm-prefork - Apache HTTP Server - traditional non-threaded model
    apache2-mpm-worker - Apache HTTP Server - high speed threaded model
    apache2.2-common - Apache HTTP Server common files

    3. apt-file search: Search Repository Using a Filename from the Package

    Sometimes you may know the configuration file name (or) the executable name from the package that you would like to install.

    The following example shows that apache2.conf file is part of the apache2.2-common package. Search the repository with a configuration file name using apt-file command as shown below.

    $ apt-file search apache2.conf
    apache2.2-common: /etc/apache2/apache2.conf
    apache2.2-common: /usr/share/doc/apache2.2-common/examples/apache2/apache2.conf.gz

    4. apt-cache show: Basic Information About a Package

    Following example displays basic information about apache2 package.

    $ apt-cache show apache2
    Package: apache2
    Priority: optional
    Maintainer: Ubuntu Core Developers
    Original-Maintainer: Debian Apache Maintainers
    Version: 2.2.11-2ubuntu2.3
    Depends: apache2-mpm-worker (>= 2.2.11-2ubuntu2.3)
     | apache2-mpm-prefork (>= 2.2.11-2ubuntu2.3)
     | apache2-mpm-event (>= 2.2.11-2ubuntu2.3)
    Filename: pool/main/a/apache2/apache2_2.2.11-2ubuntu2.3_all.deb
    Size: 46350
    Description: Apache HTTP Server metapackage
     The Apache Software Foundation's goal is to build a secure, efficient and
     extensible HTTP server as standards-compliant open source software.
    Homepage: http://httpd.apache.org/

    5. apt-cache showpkg: Detailed Information About a Package

    “apt-cache show” displays basic information about a package. Use “apt-cache showpkg” to display detailed information about a package as shown below.

    $ apt-cache showpkg apache2
    Package: apache2
    Versions:
    2.2.11-2ubuntu2.3 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty-updates_main_binary-i386_Packages) (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_jaunty-security_main_binary-i386_Packages)
     Description Language:
                     File: /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_jaunty-updates_main_binary-i386_Packages
                      MD5: d24f049cd70ccfc178dd8974e4b1ed01
    Reverse Depends:
      squirrelmail,apache2
      squid3-cgi,apache2
      phpmyadmin,apache2
      mahara-apache2,apache2
      ipplan,apache2
    Dependencies:
      2.2.11-2ubuntu2.3 - apache2-mpm-worker (18 2.2.11-2ubuntu2.3) apache2-mpm-prefork (18 2.2.11-2ubuntu2.3) apache2-mpm-event (2 2.2.11-2ubuntu2.3)
      2.2.11-2ubuntu2 - apache2-mpm-worker (18 2.2.11-2ubuntu2) apache2-mpm-prefork (18 2.2.11-2ubuntu2) apache2-mpm-event (2 2.2.11-2ubuntu2)
    Provides:
      2.2.11-2ubuntu2.3 -
      2.2.11-2ubuntu2 -
    Reverse Provides:
      apache2-mpm-itk 2.2.6-02-1build4.3
      apache2-mpm-worker 2.2.11-2ubuntu2.3
      apache2-mpm-prefork 2.2.11-2ubuntu2.3
      apache2-mpm-prefork 2.2.11-2ubuntu2
      apache2-mpm-event 2.2.11-2ubuntu2

    6. apt-file list: List all the Files Located Inside a Package

    Use “apt-file list” to display all the files located inside the apache2 package as shown below.

    $ apt-file list apache2 | more
    apache2: /usr/share/bug/apache2/control
    apache2: /usr/share/bug/apache2/script
    apache2: /usr/share/doc/apache2/NEWS.Debian.gz
    apache2: /usr/share/doc/apache2/README.Debian.gz
    apache2: /usr/share/doc/apache2/changelog.Debian.gz
    

    7. apt-cache depends: List all Dependent Packages

    Before installation, if you like to view all the dependent packages, use “apt-cache depends” as shown below.

    $ apt-cache depends apache2
    apache2
     |Depends: apache2-mpm-worker
     |Depends: apache2-mpm-prefork
      Depends: apache2-mpm-event

    8. dpkg -l: Is the Package Already Installed?

    Before installing a package, you may want to make sure it is not already installed as shown below using dpkg -l command.

    $ dpkg -l | grep -i apache

    9. apt-get install: Install a Package

    Finally, install the package using “apt-get install” as shown below.

    $ sudo apt-get install apache2
    [sudo] password for ramesh: 
    The following NEW packages will be installed:
      apache2 apache2-mpm-worker apache2-utils apache2.2-common libapr1
      libaprutil1 libpq5
    0 upgraded, 7 newly installed, 0 to remove and 26 not upgraded.

    10. dpkg -l : Verify Whether the Package got Successfully Installed

    After installing the package, use “dpkg -l” to make sure it got installed successfully.

    $ dpkg -l | grep apache
    ii  apache2             2.2.11-2ubuntu2.3  Apache HTTP Server metapackage
    ii  apache2-mpm-worker  2.2.11-2ubuntu2.3  Apache HTTP Server - high speed threaded mod
    ii  apache2-utils       2.2.11-2ubuntu2.3  utility programs for webservers
    ii  apache2.2-common    2.2.11-2ubuntu2.3  Apache HTTP Server common files

    11. apt-get remove: Delete a Package

    Use “apt-get purge” or “apt-get remove” to delete a package as shown below.

    $ sudo apt-get purge apache2
    $ sudo apt-get remove apache2
    The following packages were automatically installed and are no longer required:
      apache2-utils linux-headers-2.6.28-11 libapr1 apache2.2-common
      linux-headers-2.6.28-11-generic apache2-mpm-worker libpq5 libaprutil1
    Use 'apt-get autoremove' to remove them.
    The following packages will be REMOVED:
      apache2
    0 upgraded, 0 newly installed, 1 to remove and 26 not upgraded.
    Removing apache2 ...
  • apt-get remove will not delete the configuration files of the package
  • apt-get purge will delete the configuration files of the package
  • 12. apt-get -u install: Upgrade a Specific Package

    The following example shows how to upgrade one specific package.

    $ sudo apt-get -u install apache2
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    apache2 is already the newest version.
    The following packages were automatically installed and are no longer required:
      linux-headers-2.6.28-11 linux-headers-2.6.28-11-generic
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

    13. apt-get -u upgrade: Upgrade all Packages

    To upgrade all the packages to it’s latest version, use “apt-get -u upgrade” as shown below.

    $ sudo apt-get -u upgrade
    The following packages will be upgraded:
      libglib2.0-0 libglib2.0-data libicu38 libsmbclient libwbclient0
      openoffice.org-base-core openoffice.org-calc openoffice.org-common
      openoffice.org-core openoffice.org-draw openoffice.org-emailmerge
      openoffice.org-gnome openoffice.org-gtk openoffice.org-impress
      openoffice.org-math openoffice.org-style-human openoffice.org-writer
      python-uno samba-common smbclient ttf-opensymbol tzdata
    26 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Linux users can use LibreOffice, Google Docs, and even Microsoft’s Office Web Apps, but some people still need — or just want — the desktop version of Microsoft Office. Luckily, there are ways to run Microsoft Office on Linux.

    This is particularly useful if you’re still on the soon-to-be-unsupported Windows XP and don’t want to pay an upgrade fee to upgrade your computer to Windows 7 or 8. This obviously isn’t supported by Microsoft, but it still works fairly well.

    Ways to Install Microsoft Office

    There are several different ways to install Microsoft Office on Linux:

  • Wine: Wine is a Windows compatibility layer that allows you to run Windows programs on Linux. It’s not perfect, but it’s optimized enough to run popular programs like Microsoft Office well. Wine will work better with older versions of Office, so the older your version of Office, the more likely it is to work without any trouble. Wine is completely free, although you may have to do some tweaking yourself.
  • CrossOverCrossOver is a paid product that uses code from the free version of Wine. While it costs money, CrossOver does more of the work for you. They test their code to ensure that popular programs like Microsoft Office run well and ensure upgrades won’t break them. CrossOver also provides support — so if Office doesn’t run well, you have someone to contact who will help you.
  • Virtual Machine: You could also install Microsoft Windows in a virtual machine using a program like VirtualBox or VMware and install Microsoft Office inside it. With Seamless Mode or Unity Mode, you could even have the Office windows appear on your Linux desktop. This method provides the best compatibility, but it’s also the heaviest — you have to run a full version of Windows in the background. You’ll need a copy of Windows, such as an old Windows XP disc you have lying around, to install in the virtual machine.
  • We’ll be focusing on using Wine or Crossover to install Office directly on Linux. If you want to use a virtual machine, all you have to do is install VirtualBox or VMware Player and create a new virtual machine. The program will walk you through installing Windows and you can install Office inside your virtualized Windows as you normally would.

    RELATED ARTICLES

    4+ Ways to Run Windows Software on Linux
    Linux has come a long way, but you may still need to run Windows applications occasionally – especially Windows-only PC… [Read Article]

    How To Run Windows Software on Ubuntu with Wine
    Linux is a great operating system, but its software catalog can be lacking. If there’s a Windows game or other… [Read Article]

    Installing Microsoft Office With Wine

    We tested Office 2007 with this process, as Office 2013 is known not to work properly and Office 2010 doesn’t appear to be well supported. If you want to use an older version of Office, like Office 2003, you’ll likely find that it works even better. If you want to install Office 2010, you may need to perform some more tweaks — check the Wine AppDB page for the version of Office you want to install for more information.

    First, install the Wine package from your Linux distribution’s software package repository. On Ubuntu, open the Ubuntu Software Center, search for Wine, and install the Wine package.

    Next, insert the Microsoft Office disc into your computer. Open it in your file manager, right-click the setup.exe file, and open the .exe file with Wine.

    The installer will appear and, if everything goes well, you should be able to go through the installation process on Linux as you normally would on Windows.

    We didn’t run into any problems while installing Office 2007, but this will vary depending on your version of Wine, Linux distribution, and especially the release of Microsoft Office you’re trying to use. For more tips, read the Wine AppDB and search for the version of Microsoft Office you’re trying to install. You’ll find more in-depth installation instructions there, filled with tips and hacks other people have used.

    You could also try using a third-party tool like PlayOnLinux, which will help you install Microsoft Office and other popular Windows programs. Such an application may speed things up and make the process easier on you. PlayOnLinux is also available for free in the Ubuntu Software Center.

    Why You Might Want to Use CrossOver

    If the Wine method doesn’t work or you encounter problems, you may want to try usingCrossOver instead. CrossOver offers a free two-week trial, but the full version will cost you $60 if you want to keep using it.

    After downloading and installing CrossOver, you’ll be able to open the CrossOver application and use it to install Office. You can do everything you can do with CrossOver with the standard version of Wine, but CrossOver may require less hacking around to get things working. Whether this is worth the cost is up to you.

    Using Microsoft Office on Linux

    After the installation, you’ll find the Microsoft Office applications in your desktop’s launcher. On Ubuntu, we had to log out and log back in before the shortcuts would appear in the Unity desktop’s launcher.

    Office works pretty well on Linux. Wine presents your home folder to Word as your My Documents folder, so it’s easy to save files and load them from your standard Linux file system.

    The Office interface obviously doesn’t look as at home on Linux as it does on Windows, but it performs fairly well. Each Office program should should work normally, although it’s possible that some features — particularly little-used ones that haven’t been tested very much — may not work properly in Wine.

    Of course, Wine isn’t perfect and you may run into some issues while using Office in Wine or CrossOver. If you really want to use Office on a Linux desktop without compatibility issues, you may want to create a Windows virtual machine and run a virtualized copy of Office. This ensures you won’t have compatibility issues, as Office will be running on a (virtualized) Windows system.

    CDemu is a Software suite to mount your images such as ISO, IMG, BIN and MDF (CD or DVDImages) in Linux without having to write in physical media. For more information visit the OfficialWebsite.

    Note: The notes provided here is tested in Linuxmint 14 Cinnamon.

    To install CDemu, open the Terminal by pressing CTRL+ALT+T and add its PPA archive:

    Then run the commands to update the Repositories and install CDemu:

    To start CDemu, Click Menu -> System Settings -> gCDemu. An icon will be displayed in your task bar.

    Click the gCDemu icon to get started. Select Device #00 or Device #01 to mount your images. Click“Load” and browse the ISO to load:

    The ISO will be mounted in your File manager:

    To unload your ISO after the usage, simply press the “Unload” in the gCDemu window or eject from the file manager:

    Thats it. Enjoy!!!

    This brief tutorial is going to show you how to mount or map network shares in both Windows 7 and Ubuntu 12.04 (Precise Pangolin). Ubuntu 12.04 and Windows 7 may be different in many ways, but are almost similar in many functions. Whatever tasks you perform in Windows 7 can also be done in Ubuntu, maybe in a different manner. So, today’s task is how to map network shares or drives in both Ubuntu 12.04 and Windows 7. If you’re coming from Windows 7 to Ubuntu 12.04, this guide will come in handy and help you understand Ubuntu better.

    Objectives:

  • Map / Mount Network Shares in both Windows 7 and Ubuntu 12.04
  • Enjoy!
  • How to Map Network Shares in Windows 7

    To map network shares in Windows 7, go to ‘Start – > Computer –> and select‘Map network drive’ from the top menu shown below.

    Next, choose a Drive letter and type in the folder path to the shared resource. The format to connect to network resources in Windows is shown below:

    \IP_Address or Hostnameshare_name

    Finally, click Finish and you should see the resource mapped.

    How to Map Network Shares in Ubuntu 12.04 (Precise Pangolin)

    To map network shares in Ubuntu 12.04, press Ctrl –Alt – T on your keyboard to open Terminal. When it opens, run the commands below to edit fstab file.

    sudo gedit /etc/fstab

    Next, add the line shown below at the end of the file and save it. Replace<username> with your username, and <password> with your password.

    //IP_Address or Hotname/Share_Name /home/<username>/Windows cifs username=<windows_username>,password=<windows_password>,uid=<Ubuntu_username>,defaults 0 0

    After that, run the commands below to create a Windows mount point in your home directory.

    mkdir ~/Windows

    Next, run the commands below to install smbfs packages.

    sudo apt-get install smbfs

    Restart your computer and you should see the shares.

    Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Email Address:
  • ArcGIS.me — My personal website
  • LiDAR blog — My personal blog
  • Dr. Hongxing Liu's Research Group
  • GIESN Research Center
  • University of Cincinnati
  • Geography Dept @ University of Cincinnati
  • Texas A&M University
  • Geography Dept @ Texas A&M University
  • Sun Yat-sen University
  • Geography Dept @ Sun Yat-sen University
  • GIS-related Blogs
  • Blogs I Follow

  • Recent Comments

    lembrechtsjonas on Extract Raster Values from Poi…
    Asanga Ramanayake on Setting up Anaconda, PySAL wit…
    Qiusheng Wu on Setting up Anaconda, PySAL wit…
    iqbalhabibie on Setting up Anaconda, PySAL wit…
    iqbalhabibie on Setting up Anaconda, PySAL wit…
    Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
    To find out more, including how to control cookies, see here: Cookie Policy
  •