Installing Software in Ubuntu

系统 2542 0

Installing Software in Ubuntu

Introduction
Most Windows users who migrate to Ubuntu end up confused about software installation. They go to a website, download a .tar.gz file, double-click it, and don't see a Next-Next-Next-Finish wizard. This tutorial is intended to introduce you to the preferred methods of software installation in Ubuntu.

Rather than leaving it up to the user to track down installer files and keep applications updated, Ubuntu (like many other Linux distributions) has a software package management system that provides a searchable database of easily installable applications (like an online shopping cart but the software is cost-free), which it will download and install for you with a few clicks.

For those of you with smartphones, it's a very similar process to installing applications using the iTunes App Store or Android Market.

Installing 101: Ubuntu Software Center
The best place to start with this package management process is to use a simple interface for it called Ubuntu Software Center . (The Software Center is available as of Ubuntu 9.10; in Ubuntu 9.04 and earlier, there was a similar interface called Add/Remove .)


Go to Applications and select Ubuntu Software Center .


If you already know what software you're looking for, you can begin typing the name of it in the top-right corner to begin the filtering process. If you don't know, you can also browse by category.


Either way, when you find the application you're looking for, click on the little arrow next to it.


You can read a description of the application or view its website to get more information about it. Once you're ready to install it, click Install


Since this installation will modify system files and make the application available to all users of the system, you will be prompted for your password if you're an administrator of the system.


Wait for the application to install, and then it should be ready to use.

Advanced interface: Synaptic Package Manager
Another interface for the package manager is Synaptic. Synaptic works very similarly to Add/Remove, but it has more advanced options. It allows you more categories and custom filters, and shows you supporting libraries (not just user applications).

Installing Software in Ubuntu Installing Software in Ubuntu
To access Synaptic, go to System > Administration > Synaptic Package Manager . Then enter your password and click OK

Installing Software in Ubuntu Installing Software in Ubuntu Installing Software in Ubuntu
You can click the Search button or press Control-F to search for software. Once you've found the software you want to install, right-click it and mark it for installation.

Installing Software in Ubuntu Installing Software in Ubuntu Installing Software in Ubuntu Installing Software in Ubuntu
Once you've marked all the software packages you want to install (or remove, too), click Apply , confirm by clicking Apply when prompted, and then wait for the package files to download and install. Once they've installed, click Close .

Manual download: .deb
Most of the time, if you need software, you can use Add/Remove or Synaptic to install it from the online repositories. Sometimes, software is not available in the repositories, and you have to go to a website to download it. If you are able to download a file with a .deb extension, this is the software package format Ubuntu prefers.

Installing Software in Ubuntu Installing Software in Ubuntu Installing Software in Ubuntu
For example, Skype is not in the default Ubuntu repositories, so you can go to the Skype website, and download the Ubuntu package.

Note: Skype doesn't always update their Ubuntu packages. So, for example, in this screenshot Skype lists the installer file as being for Ubuntu 7.04, but I'm using Ubuntu 8.04. Opera, on the other hand, even if it hasn't changed its browser version numbers will have all the Ubuntu release versions to choose from. Try to select whichever version seems most appropriate.

Installing Software in Ubuntu Installing Software in Ubuntu Installing Software in Ubuntu Installing Software in Ubuntu
Once the .deb file is on your desktop, double-click it to install it. You'll be prompted for your password, and then you can just wait for it to install.

Installing Software in Ubuntu
You should then be able to use Skype or whatever application you installed.

Last resorts: .rpm and .tar.gz
The preferred way to install software in Ubuntu is to use the package manager, which you can access through Add/Remove or Synaptic. As we've seen with Skype, sometimes you can also find a .deb for software not in the repositories. But what if you can't find a .deb?

.rpm
If you can't find a .deb, you can try a .rpm. These files are packaged for other Linux distributions (usually Fedora or Mandriva), but there is an application called alien (which you can install using Synaptic) that allows you (most of the time) to convert .rpm files to .deb. Read more about this process .

.tar.gz
As a last resort, you can download a .tar.gz file. The .tar.gz file extension indicates the file is a compressed set of files and folders (the compressed files you see in Windows usually have a .zip extension). If you see the .tar.gz, it could be compressed files that have a precompiled binary file, or it could be compressed files that have the source code allowing you to compile the application from source.

If you have trouble installing a .tar.gz file, you can ask for help on the Ubuntu Forums .

Links
There are other guides out there that help you understand software installation a bit better.

  • Community Documentation on Installing : The wiki gives a thorough explanation of the process of installing software and also includes the Adept package manager available in Kubuntu.
  • Video tutorials : A collection of YouTube videos showing the installation process in real-time, often with spoken narration.
  • Old Psychocats Tutorial : A very text-heavy explanation of software installation that also includes examples with the command-line way to access the package manager.

Note: The above essay comes from http://www.psychocats.net/ubuntu/installingsoftware

Installing Software in Ubuntu


更多文章、技术交流、商务合作、联系博主

微信扫码或搜索:z360901061

微信扫一扫加我为好友

QQ号联系: 360901061

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描下面二维码支持博主2元、5元、10元、20元等您想捐的金额吧,狠狠点击下面给点支持吧,站长非常感激您!手机微信长按不能支付解决办法:请将微信支付二维码保存到相册,切换到微信,然后点击微信右上角扫一扫功能,选择支付二维码完成支付。

【本文对您有帮助就好】

您的支持是博主写作最大的动力,如果您喜欢我的文章,感觉我的文章对您有帮助,请用微信扫描上面二维码支持博主2元、5元、10元、自定义金额等您想捐的金额吧,站长会非常 感谢您的哦!!!

发表我的评论
最新评论 总共0条评论