Questions tagged [ubuntu]

Ubuntu is a free desktop and server operating system based on Debian GNU/Linux. This tag is for programming questions specific to Ubuntu. General Ubuntu support is off-topic. Support questions may be asked at https://askubuntu.com/.

Ubuntu is a free desktop and server operating system based on Debian GNU/Linux.

Questions concerning the use and administration of Ubuntu, running third-party applications, development, or services provided by Ubuntu may be better suited for Ask Ubuntu rather than StackOverflow.

Philosophy

The goal of the Ubuntu project is to provide a free computer environment, centered on a Linux distribution and complemented by online services.

Releases

The core of the distribution contains a -based desktop environment which is tightly integrated to the system, in particular providing a GUI for hardware management and system administration. The supported core also includes other desktop environments such as , although their integration is managed by side projects such as Kubuntu.

includes a small amount of non-free software such as drivers. Ubuntu offers a large amount of packages directly taken from Debian's unstable distribution, in the form of the universe repository.

There is a release of Ubuntu every six months: one in April and one in October. One in four is a long-term support (LTS) release. The latest LTS version of Ubuntu is (Bionic Beaver). It was released in April 2018 and is supported until April 2023.

Latest release: 20.04.1 LTS (Focal Fossa) released on August 2020

Derivatives

Side projects of Ubuntu include:

  • Edubuntu: for use in teaching.
  • Kubuntu: managing the integration of KDE into Ubuntu.
  • Ubuntu Studio: for multimedia production.
  • Xubuntu: managing the integration of Xfce into Ubuntu.
  • Lubuntu: managing the integration of LXDE into Ubuntu, focusing on speed and energy efficiency.

Documentation

Currently supported versions

Common tasks

Related

53906 questions
622
votes
28 answers

How to kill a process on a port on ubuntu

I am trying to kill a process in the command line for a specific port in ubuntu. If I run this command I get the port: sudo lsof -t -i:9001 so...now I want to run: sudo kill 'sudo lsof -t -i:9001' I get this error message: ERROR: garbage process…
Tampa
  • 62,379
  • 105
  • 250
  • 388
568
votes
33 answers

How to install the JDK on Ubuntu Linux

Note: This is an old question and the answers reflect the world as it was then. Modern Ubuntu distributions have OpenJDK available which can be installed with sudo apt install default-jdk I am trying to install the Java Development Kit (JDK) on…
user2057084
  • 5,759
  • 3
  • 11
  • 7
567
votes
10 answers

`require': no such file to load -- mkmf (LoadError)

I was trying to install rails on Ubuntu Natty Narwhal 11.04, using ruby1.9.1. I installed ruby using apt-get install ruby1.9.1-full which contains the dev package. I googled the error and all have suggested I install the 1.9.1-dev which I already…
Omar S.
  • 7,650
  • 3
  • 28
  • 38
551
votes
8 answers

How to install Boost on Ubuntu

I'm on Ubuntu, and I want to install Boost. I tried with sudo apt-get install boost But there was no such package. What is the best way to install Boost on Ubuntu?
k53sc
  • 5,880
  • 3
  • 14
  • 21
543
votes
27 answers

Postgresql: password authentication failed for user "postgres"

I have installed PostgreSQL 8.4, Postgres client and Pgadmin 3. Authentication failed for user "postgres" for both console client and Pgadmin. I have typed user as "postgres" and password "postgres", because it worked before. But now authentication…
I159
  • 24,762
  • 27
  • 88
  • 124
526
votes
13 answers

How to permanently add a private key with ssh-add on Ubuntu?

I have a private key protected with a password to access a server via SSH. I have 2 linux (ubuntu 10.04) machines and the behavior of ssh-add command is different in both of them. In one machine, once I use "ssh-add .ssh/identity" and entered my…
duduklein
  • 8,344
  • 10
  • 40
  • 52
518
votes
17 answers

Nginx no-www to www and www to no-www

I am using nginx on Rackspace cloud following a tutorial and having searched the net and so far can't get this sorted. I want www.mysite.com to go to mysite.com as normal in .htaccess for SEO and other reasons. My…
TheBlackBenzKid
  • 24,177
  • 36
  • 128
  • 199
515
votes
2 answers

Lost httpd.conf file located apache

How can I find where my httpd.conf file is located? I am running an Ubuntu Linux server from the Amazon Web Services EC2 (Elastic Compute Cloud) and I can't find my Apache config.
Shalin Shah
  • 7,965
  • 6
  • 25
  • 40
511
votes
17 answers

Cannot install packages using node package manager in Ubuntu

NodeJS interpreter name(node) on Ubuntu has been renamed to nodejs because of a name conflict with another package. Here's what the readme. Debian says: The upstream name for the Node.js interpreter command is "node". In Debian the interpreter…
Sayem
  • 5,939
  • 4
  • 20
  • 22
467
votes
28 answers

Docker error : no space left on device

I installed docker on a Debian 7 machine in the following way $ echo deb http://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list $ sudo apt-get update $ curl -sSL https://get.docker.com/ubuntu/ | sudo sh After that when I…
user_mda
  • 12,733
  • 17
  • 62
  • 111
446
votes
11 answers

How to install lxml on Ubuntu

I'm having difficulty installing lxml with easy_install on Ubuntu 11. When I type $ easy_install lxml I get: Searching for lxml Reading http://pypi.python.org/simple/lxml/ Reading http://codespeak.net/lxml Best match: lxml 2.3 Downloading…
Eric Wilson
  • 51,818
  • 71
  • 192
  • 262
440
votes
8 answers

How to append one file to another in Linux from the shell?

I have two files: file1 and file2. How do I append the contents of file2 to file1 so that contents of file1 persist the process?
asir
  • 11,193
  • 8
  • 22
  • 18
435
votes
17 answers

How to install python3 version of package via pip on Ubuntu?

I have both python2.7 and python3.2 installed in Ubuntu 12.04. The symbolic link python links to python2.7. When I type: sudo pip install package-name It will default install python2 version of package-name. Some package supports both python2 and…
kev
  • 137,128
  • 36
  • 241
  • 259
425
votes
7 answers

Docker - Ubuntu - bash: ping: command not found

I've got a Docker container running Ubuntu which I did as follows: docker run -it ubuntu /bin/bash however it doesn't seem to have ping. E.g. bash: ping: command not found Do I need to install that? Seems a pretty basic command to be missing. I…
Snowcrash
  • 66,400
  • 60
  • 203
  • 323
414
votes
29 answers

Delete all local git branches

I follow a development process where I create a new local branch for every new feature or story card. When finished I merge the branch into master and then push. What tends to happen over time due to a combination of laziness or forgetfulness, is…
Louth
  • 8,926
  • 5
  • 25
  • 37
1
2 3
99 100