Linux--Ubuntu What is a software source

Source: Internet
Author: User

When beginners learn ubuntu, generally do not know what is the source, but the source is also commonly used in Ubuntu things. Therefore, this article describes the Ubuntu source in detail.

What is a software source?

Source, under Ubuntu, it is equivalent to a software library, what software you need, as long as you remember the correct software name can be installed with the command:

sudo apt-get install software name

For example, if you are installing GCC software, then you can enter sudo apt-get install GCC in the terminal, which will help you to install the GCC software, if the source does not have this software, this command will not be completed.

Of course, if you want to remove the software, you can enter it in the terminal:

sudo apt-get remove software name

How do I add a software source to Ubuntu?

If you want the software is not, then you can add some software more complete source to solve, that is, put more software into the software library.

1. Enter sudo gedit/etc/apt/sources.list in the terminal

Sources.list is to add the source of the file, as long as you find the source address on the Internet to add the last line on the line, and then save. Back to the terminal, update the software list and enter:

2. sudo apt-get update

In peacetime, if your source download speed is not fast, you can also update the source in this way, to get the source of faster speed

From http://jingyan.baidu.com/article/ad310e80bf5ab81849f49ee8.html

Linux--Ubuntu What is a software source

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.