Ubuntu Software Installation Guide

Source: Internet
Author: User
Keywords Run Software installation nbsp or install
Tags apt binary binary packages code directory file file system architecture guide

First Note: Linux (inherited from Unix) in the file system architecture, users manually select the installation directory is unnecessary.

Someone asked, can not make their own decisions, this is not bad? The system was smart and she knew better where to put it and not worry about it. If you have to worry about, do not have to specify their own location, pointing to the wrong may fail in Europe! Because the software providers also trust this system best, hehe ~ This specification has been practiced for decades, and it turns out that this is the best! So we don't need to worry about the installation location (in fact, you are not prompted to choose the installation directory)

Typically, Linux places software components like this:

Program Documentation->/usr/share/doc; /usr/local/share/doc
Program->/usr/share; /usr/local/share
Program Startup Item->/usr/share/apps; /usr/local/share
Program's language Pack->/usr/share/locale; /usr/local/share/locale
Executable file->/usr/bin; /usr/local/bin and some software in order to separate from the system components, choose to reside in the OPT, but the directory structure is often the same, replace/usr or usr to/opt/"software name"

If you encounter a problem, open the virtual Terminal Program (terminal), such as Konsole, Gnome-terminal, and xterm to run the experiment. By default, running unknown plus programs is likely to require manual permission to execute. Assigning a file Such permissions can be ticked using the options in the file properties. or command chmod, refer to man chmod.

Run directly

Binary packages already compiled-collectively binary, suffix can be. bin or. sh or not.

Add: You don't need to compile to run the Python source code--that is, source codes, using Python *.py to invoke

There are already typed binary packages (sometimes with i386/amd64, x86/x86_64, and so on) or a single file (rarely, directly run),

However, if you are a 64-bit system with 32-bit potential for normal use, you may need to compile the source code

General run programs. sh or no extension or hardware architecture name run commands like

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; /iourbanterror.x86_64

./wings3d

Java programs

If it is. Jar wants terminal to run, for example

Java-jar Megamek.jar

If it's Webstart, it runs automatically--Web browsers use

Python programs

Usually the source code, invoke Python to run, for example,

Python main.py

Most common installation methods

sudo apt install software name

The premise is that you have this software in your list of software, which requires your source to be well matched and often sudo apt update to keep your list up to date. This method automatically downloads packages to

The/var/cache/apt/archives directory is installed and can also help you solve the dependency problem.
Apt://pidgin If you click this link to start installing pidgin, it is apt to expand to the browser direction

Add: The essence is the planned Deb package collection.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.