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
371
votes
2 answers

Color picker utility (color pipette) in Ubuntu

I'am looking for a color picker utility on Ubuntu/Debian. Anything simple and easy to use.
leninzprahy
  • 4,583
  • 3
  • 17
  • 13
358
votes
22 answers

Cannot install NodeJs: /usr/bin/env: node: No such file or directory

I'm trying to install nodeJs into my Ubuntu 14.04 in order to use GruntJs. I've read about Ubuntu different way of doing it (issues?), so this is what I've done in order to install it: sudo apt-get install npm sudo npm install -g grunt-cli Typing…
Rosamunda
  • 14,620
  • 10
  • 40
  • 70
356
votes
30 answers

How do I SET the GOPATH environment variable on Ubuntu? What file must I edit?

I am trying to do a go get: go get github.com/go-sql-driver/mysql and it fails with the following error: package github.com/go-sql-driver/mysql: cannot download, $GOPATH not set. For more details see: go help gopath when I do a go env , a list of…
David Saintloth
  • 4,061
  • 2
  • 16
  • 16
352
votes
10 answers

How do I install the OpenSSL libraries on Ubuntu?

I'm trying to build some code on Ubuntu 10.04 LTS that uses OpenSSL 1.0.0. When I run make, it invokes g++ with the "-lssl" option. The source includes: #include #include #include #include…
Daryl Spitzer
  • 143,156
  • 76
  • 154
  • 173
330
votes
14 answers

Repeat command automatically in Linux

Is it possible in Linux command line to have a command repeat every n seconds? Say, I have an import running, and I am doing ls -l to check if the file size is increasing. I would like to have a command to have this repeat automatically.
Marty Wallace
  • 34,046
  • 53
  • 137
  • 200
314
votes
4 answers

Install MySQL on Ubuntu without a password prompt

How do I write a script to install MySQL server on Ubuntu? sudo apt-get install mysql will install, but it will also ask for a password to be entered in the console. How do I do this in a non-interactive way? That is, write a script that can provide…
Venkat
  • 4,259
  • 4
  • 23
  • 20
306
votes
30 answers

After installing with pip, "jupyter: command not found"

After installing with pip install jupyter, terminal still cannot find jupyter notebook. Ubuntu simply says command not found. Similar with ipython. Did pip not get install properly or something? How does Ubuntu know where to look for…
john mangual
  • 7,718
  • 13
  • 56
  • 95
304
votes
14 answers

Eclipse cannot load SWT libraries

Every time I try to open Eclipse in Ubuntu 12.04 I get an Unsatisfied Link Error and it will not open. I have recently installed the java JDK and Android SDK, could this be the problem? I followed this tutorial. Here is the log info: !SESSION…
TomRichardson
  • 5,933
  • 5
  • 27
  • 30
299
votes
31 answers

set up device for development (???????????? no permissions)

I am using a Samsung galaxy nexus phone (Android 4.0 platform) . I am developing Android app on Ubuntu linux OS. I would like to run my application directly on the Samsung handset device, so I performed the following setup steps: in my project…
Leem.fin
  • 40,781
  • 83
  • 202
  • 354
295
votes
8 answers

sh: 0: getcwd() failed: No such file or directory on cited drive

I am trying to compile ARM code on Ubuntu 12.04 (Precise Pangolin). Everything is working fine when I put the code in the local directory. But when I put the code in the cited mount directory, an error shows up: making testXmlFiles sh: 0: getcwd()…
CrazyKitty Rotoshi
  • 2,959
  • 2
  • 13
  • 4
292
votes
8 answers

What is makeinfo, and how do I get it?

I'm trying to build GNU grep, and when I run make, I get: [snip] /bin/bash: line 9: makeinfo: command not found What is makeinfo, and how do I get it? (This is Ubuntu, if it makes a difference)
mike
  • 46,876
  • 44
  • 102
  • 112
291
votes
6 answers

How to run cron job every 2 hours?

How can I write a Crontab that will run my /home/username/test.sh script every 2 hours?
Vignesh
  • 8,319
  • 6
  • 22
  • 11
290
votes
3 answers

Window appears off screen on ubuntu

I have a dual monitor setup, and I am using Ubuntu 12.04 LTS I have changed the positioning of the monitors several times, and now for some reason some of the windows open up off-screen (outside of both screens), Update Manager, for instance. How…
Mladen Danic
  • 3,600
  • 2
  • 25
  • 24
289
votes
35 answers

Docker Error bind: address already in use

When I run docker-compose up in my Docker project it fails with the following message: Error starting userland proxy: listen tcp 0.0.0.0:3000: bind: address already in use netstat -pna | grep 3000 shows this: tcp 0 0 0.0.0.0:3000 …
Ngoral
  • 4,215
  • 2
  • 20
  • 37
285
votes
24 answers

Unable to set default python version to python3 in ubuntu

I was trying to set default python version to python3 in Ubuntu 16.04. By default it is python2 (2.7). I followed below steps : update-alternatives --remove python /usr/bin/python2 update-alternatives --install /usr/bin/python python…
RejeeshChandran
  • 4,168
  • 3
  • 21
  • 32