Proper installation of deb packages in Ubuntu

Proper installation of deb packages in Ubuntu
Proper installation of deb packages in Ubuntu
Anonim

All programs in a Linux distribution like Ubuntu are installed from special deb packages. This is the extension that is commonly used. They may differ in different operating systems, for example, in Windows, which we are all familiar with, special.exe files are used. As a rule, in the Ubuntu system, to build the program from the repository, it is automatically downloaded and the installation of deb packages begins. But sometimes you have to install the program manually, for example, if there is no Internet, or the installers are very large (in particular games).

Windows users must have gotten used to the latter method. Those. just download the file with the desired extension, double-click and follow the instructions by clicking the "Next" button. The Linux system has its own differences for this method.

install deb
install deb

General recommendations

For the correct search and installation of programs, the following sequence of actions is recommended:

1) Go to the Application Center and try to find the required program there.

2) If you could not find it in the standard source, then you can go to the official website of the developers and see their repository for installation or a link to the PPA.

3) Bin the case when the site only offers to install a deb-package, then you need to download it and work with it further.

4) It happens that you can only find the source codes, in which case you will have to build the program yourself.

deb installation
deb installation

The best solution is to install deb-packages from the repository only for the reason that it will be much easier to update the program in the future. The update service on your system will automatically find the latest versions.

It is also worth noting that the official repositories of the program are more reliable than developer sources, since the latter contains newer versions, although not as stable.

Installation of deb-files is divided into 2 ways: in graphical mode and in the terminal.

Install in graphical mode

First you need to find the required package in the file manager, and then double-click on it. Next, the graphical shell of the program will appear on the screen, and if an older program is present in official sources, the user will be informed about this. This pop-up window can be closed. After that, you must click "Install package", after which you will be prompted to enter the administrator password, because. any such action must be carried out only with his permission. Then the installation process will begin. When this is done, you can close all windows and go to the program itself from the Ubuntu menu.

ubuntu deb
ubuntu deb

Install from terminal

To install the deb packagewas correct, you need to go to the appropriate folder containing the desired file in the terminal and type the command: "sudo dpkg -i package_name.deb".

Next you need to follow all the instructions on the screen. If everything went well, a message about the successful installation of the program will appear. In Ubuntu, deb packages may not contain the necessary dependencies for this program, all the required names of additional packages will be indicated, they must be installed in the same terminal.

Conclusions

Only the most necessary and brief description of the installation was provided. There are a lot of special cases, each of which has a lot of its own subtleties.

Popular topic

Editor's choice

  • Windows 7 password bypass: possible methods and recommendations from experts
    Windows 7 password bypass: possible methods and recommendations from experts

    The fact that users (most often computer administrators) protect Windows operating systems from unauthorized use, for example, in their absence at the computer, does not surprise anyone. However, often the administrator may not give the registered user enough rights to perform any actions or set personal settings, and therefore it may be necessary to log in with an administrator registration

  • How to remove a virus from a flash drive without losing data?
    How to remove a virus from a flash drive without losing data?

    Removable USB storage devices in the form of the most common flash drives are susceptible to viruses no less than hard drives with operating systems installed on them. And it is often quite problematic to identify the presence of such a threat or neutralize it. How to remove a virus from a flash drive and restore files (hidden or infected) will be discussed further

  • File viruses are computer code to achieve goals bypassing security systems
    File viruses are computer code to achieve goals bypassing security systems

    File viruses are computer code to achieve goals bypassing security systems. This is what inspired people to create antiviruses, what allows hackers to learn and steal millions of dollars every day

  • PC prevention for stable operation - expert advice. Computer help
    PC prevention for stable operation - expert advice. Computer help

    The fact that almost all modern computer systems require constant care, apparently, all users know. But not everyone has a clear enough idea of what this should manifest itself in. To keep the computer, operating system and installed applications in the most efficient condition, it is necessary to carry out preventive maintenance of the PC software and monitor the hardware components (installed equipment)

  • Detector software: what is it in the field of anti-virus protection?
    Detector software: what is it in the field of anti-virus protection?

    Apparently, many users of modern computer systems have heard or know that there are so-called detector programs. What they are is easy to understand if you just turn to the translation or interpretation of the English word detect, which literally means “to detect”