Questions tagged [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. This tag is for programming questions specific to Ubuntu.

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

Note: 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 Stack Overflow.

Philosophy

The goal of the Ubuntu project is to provide a free computer environment, centered on a Linux distribution and complemented by online services. See Ubuntu's mission for full details.

Releases

The core of the Ubuntu 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.

Ubuntu 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 being (Jammy Jellyfish), released in April 2022. LTS releases get 5 years of full support (with additional support available), while non-LTS releases get 9 months.

Derivatives

Side projects of Ubuntu include:

  • 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

Common tasks

Related

60820 questions
170
votes
7 answers

ERROR 1130 (HY000): Host '' is not allowed to connect to this MySQL server

Why oh why can I not connect to mysql? mysql -u root -ptest101 -h xxx.xxx.xxx.xxx ERROR 1130 (HY000): Host 'xxx.xxx.xxx.xxx' is not allowed to connect to this MySQL server In my.cnf I have the below # Instead of skip-networking the default is now…
Tampa
  • 75,446
  • 119
  • 278
  • 425
167
votes
6 answers

How to write a cron that will run a script every day at midnight?

I have heard crontab is a good choice, but how do I write the line and where do I put it on the server?
Matt Elhotiby
  • 43,028
  • 85
  • 218
  • 321
167
votes
10 answers

Open Redis port for remote connections

I can ping pong Redis on the server: # redis-cli ping PONG But remotely, I got problems: $ src/redis-cli -h REMOTE.IP ping Could not connect to Redis at REMOTE.IP:6379: Connection refused In config, I got the standard port: # Accept connections…
Maxim Yefremov
  • 13,671
  • 27
  • 117
  • 166
167
votes
19 answers

How to install the current version of Go in Ubuntu Precise

Running sudo apt-get install golang-stable, I get Go version go1.0.3. Is there any way to install go1.1.1?
scc
  • 10,342
  • 10
  • 51
  • 65
167
votes
7 answers

How do I set default terminal to Terminator?

I'd like to have Terminator replace the default terminal. For instance, when right-clicking inside a folder then selecting "open terminal", I'd like Terminator to open instead of the default. How can I achieve this using Xubuntu?
Running Turtle
  • 12,360
  • 20
  • 55
  • 73
166
votes
9 answers

How to install Android SDK on Ubuntu?

For my Ubuntu machine, I downloaded the latest version of Android SDK from this page. After extracting the downloaded .tgz file, I was trying to search for installation instructions and found: To get started on Linux: Unpack the .zip file you've…
Zameer Ansari
  • 28,977
  • 24
  • 140
  • 219
165
votes
25 answers

How can I set up & run PhantomJS on Ubuntu?

I set up PhantomJS and recorded it to video: https://www.dailymotion.com/video/xnizmh_1_webcam Build instructions: http://phantomjs.org/build.html Is there anything wrong in my setup? After I set it up I read the quick start tutorial and tried to…
FURKAN ILGIN
  • 2,290
  • 3
  • 18
  • 21
164
votes
4 answers

How to fix apt-get: command not found on AWS EC2?

I installed Ubuntu 12.04 on my Amazon EC2 instance and am trying to install packages using apt-get, but I am getting the following error: sudo: apt-get: command not found Ubuntu comes with apt, so it should be there. How do I fix this?
Pat841
  • 2,663
  • 4
  • 17
  • 15
163
votes
10 answers

The command rbenv install is missing

In Ubuntu 10.04 I just installed rbenv. The install command is not present. rbenv 0.4.0-49-g8b04303 Usage: rbenv [] Some useful rbenv commands are: commands List all available rbenv commands local Set or show the…
McDougall
  • 1,663
  • 2
  • 12
  • 8
163
votes
6 answers

How to start nginx via different port(other than 80)

Hi I am a newbie on nginx, I tried to set it up on my server(running Ubuntu 4), which already has apache running. So after I apt-get install it, I tried to start nginx. Then I get the message like this: Starting nginx: the configuration file…
Zhao Peng
  • 1,741
  • 2
  • 13
  • 7
161
votes
16 answers

What is the best practice of docker + ufw under Ubuntu

I just tried out Docker. It is awesome but seems not work nicely with ufw. By default, docker will manipulate the iptables a little bit. The outcome is not a bug but not what I expected. For more details you can read The dangers of UFW + Docker My…
Yi-Chien Chang
  • 1,763
  • 2
  • 11
  • 6
159
votes
11 answers

qmake: could not find a Qt installation of ''

I have a software in ubuntu that requires me to run qmake to generate the Makefile. However, running qmake gives back this error, qmake: could not find a Qt installation of '' I have installed what I thought to be the required packages using, sudo…
IssamLaradji
  • 6,637
  • 8
  • 43
  • 68
159
votes
8 answers

grep exclude multiple strings

I am trying to see a log file using tail -f and want to exclude all lines containing the following strings: Nopaging the limit is and keyword to remove is I am able to exclude one string like this: tail -f admin.log|grep -v "Nopaging the limit…
Jeets
  • 3,189
  • 8
  • 34
  • 50
157
votes
10 answers

Unable to install Android Studio in Ubuntu

I'm using Ubuntu Gnome 14.04, and I have Java 8 installed (both the JDK and the JRE). When I was installing Android Studio everything worked, but a message appeared saying: Unable to run mksdcard SDK tool How can I install Android Studio…
Carlos Carrizales
  • 2,340
  • 3
  • 18
  • 24
156
votes
22 answers

How to update npm

I'm trying to install mean.io boilerplate. It fails when running sudo npm install -g meanio@latest. Prior to failing it notes that it 'wants' npm version 1.4.x, whereas I have 1.2.18 installed. So I tried updating npm to the latest; several ways. …
user3567174
  • 1,898
  • 2
  • 15
  • 18