Ubuntu tips: Full guide to Ubuntu software installation methods classification: Ubuntu tips | ubuntu | installation | SOFTWARE | 2007.06.05
Users who have just started using Ubuntu often have this problem. What should I do if I want to install new software ?. Where is the exe file? How does the software have so many formats? Rpmpacket, What Is .tar.gz? Why can't I install it? And so on. indeed, you only need to double-click the Installation File in Windows, so many people feel uncomfortable in Ubuntu. in fact, it is easier to install most of the software using the new software package manager on the Ubuntu platform than on the Windows platform. of course, there are also a lot of software not available in the Ubuntu storage library, and these software has a variety of formats, so the installation method is also different. next I will give a detailed summary of how to install software in Ubuntu.
1. Use the new software package manager to install the program.
The new version has a friendly graphic interface. You can use it to install the existing programs in most Ubuntu software libraries. go to system-system management-New Software Package Manager to start. based on security considerations, the system will prompt you to enter the administrator password. here, you can search for the program you want to install and mark the application.
Step 3 installation: search, tag, and Application
- Search for the programs you want to install. there are thousands of themes, applications, software packages, and documents in the new project. all these file packages are stored on the Ubuntu server for download and upgrade. the new version is equivalent to an upgraded version of the windows Update Tool, because it can be used to upgrade system files, but also to install non-critical programs. you can search for software in the category on the sidebar. click the search icon on the toolbar to search.
- Find the package you want to install and right-click it. the system may prompt you that some dependencies will be installed at the same time. Fortunately, these systems will automatically solve the problem for you. remember: you can use the same steps to uninstall the program (right-click and choose uninstall ). you can also mark multiple installation packages at a time to save time.
- After marking all the files to be installed, click the application icon. The new version will automatically download and install.
FAQs:
1. What if I cannot find the desired file?
In fact, this is quite normal. There are three possible reasons:
- All the file packages in the new software package manager are from the main source of Ubuntu, but there are many unofficial software sources besides the default source. Try to activate the additional source before you quit the installation.
- If you are not connected to the Internet, this is a positive result. Of course, you may be able to find it on the installation CD, but basically this is less likely.
- If you cannot find this package from an unofficial source, you can also manually install it. but remember, there are much more installation package formats in Linux than you think. this is also the focus of this article.
2. I have already installed it, but where can I find it?
Normally, the application menu will be automatically upgraded to include the files you installed, but sometimes it will not. Here are several ways to find your newly installed program.
1). Install Debian Menu.
The Debian Menu provides a more comprehensive list of installed programs, which are also displayed in the Application Menu. you need to install a software package named menu-xdg (available in the new version). You may need to restart X window (Ctrl + Alt + space) to display it.
2) enter the program name on the terminal.
For example, I have installedMuineThen, you can enterMuinePress enter to start the program. Note that the program will be automatically closed as you close the terminal. To avoid this situation, pressAlt + F2RunStartup Program Management, Enter muine to start. you can also try typing the first letter of the program name and press the Tab key twice. the input box displays the command name or a list of available commands. to know the command line name of the program, follow these steps:
Right-click the installation package in the new IDE and select Properties to go to the "installed Files" tab. The list of installed programs is displayed, and installed/Usr/bin folderIn most cases, it is the command name of the program.
3. How can I uninstall these programs.
When you want to uninstall a program, you just need to select "mark for deletion", rather than "mark for installation", in the same steps as installing the program ". if you want to delete the configuration file together, you can select "mark to delete it completely ".
2. Install software using a terminal.
You may often see this: You can use the following code to install a program... Then, provide a piece of code that can be directly copied to the terminal. you may think this is completely different from the new one. In fact, the new one is also using this code, but it just gives a friendly interface.
Installation Method:
Go to ApplicationProgram-accessories-TerminalTo activate the terminal program.
The following two lines of code are the most common commands for installation.
Sudo apt-get install ABC and sudo aptitude install ABC
Of course, the above ABC is just a fictitious software. sudo indicates that you authorize the Administrator (Super User) permission to give the following command. enter the administrator password. this is the same as entering a password when you open a new one, but it is now on the terminal. if you directly enter sudo aptitude, you will see a new software package manager similar to the command line version.
You can also use the command line to search for the software just like you can search for the software in the new IDE. The command is as follows:
Apt-cache search ABC or aptitude search ABC
Command to delete a software package:
Sudo apt-get remove ABC and sudo aptitude remove ABC
Delete the configuration file at the same time:
Sudo apt-get remove-purge ABC and sudo aptitude purge ABC
Although the command line may scare many new Linux users, as you can see, it is also very easy to use and has a lot in common with the new graphic interface. many users prefer to install software on the terminal, and many prefer to install software on the new terminal. you can choose one as you like. if you decide to stay in Ubuntu, use the command line.
The highlights of this article are as follows:
3. Manually install the software package
You cannot find the software you need in the new infrastructure? Have you tried to activate more additional sources? If you have tried and cannot find it, we need to use the tricks you often use in Windows. Download the installation package and install it manually.
1. Install the Debian package (. deb)
In fact, all the software you downloaded in the new software package manager is the Debian software package. So if you find programs in several formats on the Internet for download, the simplest thing is to download the Debian package.
Installation Method:
1). Let the system install automatically.
You only need to double-click the downloaded Debian package to automatically start the Installation tool. click "Install software package" to perform installation. if the dependent software needs to be installed or the software source has an updated version for installation, it will automatically prompt you.
2). Run the dpkg command.
Assume that the software package test. deb you downloaded is on the desktop and your username is neo. The installation command is:
Dpkg-I/home/neo/desktop/test. deb
Note: To use this command, you must pay attention to the software dependencies. Therefore, this is not the best method to install the software.
2. Install the rpm package (. rpm)
RPM is another popular software packaging method. It is widely used in many popular Linux distributions, such as Fedora, SUSE, and Mandriva. it is not used by the Ubuntu Software Package Manager, but a command can convert it to the Deb format. However, this does not mean that all RPM packages can run properly on your system. for the same software, you can directly install the RPM package. This package is called alien. You can download and install it in the new version (of course, the command line can also:
Sudo apt-get install alien
Then, the RPM installation method:
If the user neo needs to install the software package named test. rpm on the desktop, enter
Sudo alien-I/home/neo/desktop/test. rpm
3.install the desktop themes (.tar, .tar.gz,. tgz,. tar. bz ,...)
Installing a desktop theme in Gnome is very simple. FindSystem-preferences-topicOpenTopic ManagerYou can use this application to change the icons, controls, window borders, etc. After downloading the theme package, you only need to drag it to the theme manager window to install it.
4.start the image topic .(.tar, .tar.gz,. tgz,. tar. bz ,...)
This is as simple as installing a desktop theme. LocateSystem-system management-Logon windowOpen the logon window preferences. Drag the downloaded topic to this window, and click OK in the displayed dialog box.
We will introduce two popular Gnome websites:
Gnome-Look
Gnome Art
5. source code package (.tar, .tar.gz,. tgz,. tar. bz ,...)
To be continued ....
Learn more
- 5 of the best free screen Software
- Share the Firefox configuration file with Ubuntu, Windows Vista, and XP
- How to install KDE 7.10 In Ubuntu 4.0
- Ubuntu Compiz Fusion installation and troubleshooting Part.2
- Ubuntu Compiz Fusion installation and troubleshooting Part.1
- Ubuntu tips: Full guide to Ubuntu software installation (continued)
- Use existing Windows software in Ubuntu with VMware.
- Linux screen recording tool RecordMyDesktop
- Skype For Linux 1.4 beta is released.
- Ubuntu: the simplest Ubuntu Installation Tool: Wubi (Windows XP)
- Source:
- Http://www.digglife.cn/articles/how-to-install-software-in-ubuntu.html