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
300
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,595
  • 4
  • 24
  • 29
292
votes
27 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
  • 35,699
  • 70
  • 166
  • 297
290
votes
7 answers

How to properly add include directories with CMake

About a year ago I asked about header dependencies in CMake. I realized recently that the issue seemed to be that CMake considered those header files to be external to the project. At least, when generating a Code::Blocks project the header files do…
Matthieu M.
  • 251,718
  • 39
  • 369
  • 642
284
votes
20 answers

nginx - nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)

All of a sudden I am getting the below nginx error * Restarting nginx * Stopping nginx nginx ...done. * Starting nginx nginx nginx: [emerg] bind() to [::]:80 failed (98: Address already in use) nginx: [emerg] bind() to [::]:80 failed (98:…
Tampa
  • 62,379
  • 105
  • 250
  • 388
281
votes
22 answers

Vagrant error : Failed to mount folders in Linux guest

I have some issues with Vagrant shared folders, my base system is Ubuntu 13.10 desktop. I do not understand why I have this error is something that is not right configured ? Is a NFS issue or Virtualbox Guest Additions ? I have tried with different…
Ek Kosmos
  • 4,050
  • 7
  • 28
  • 45
281
votes
26 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
  • 3,263
  • 2
  • 14
  • 15
276
votes
9 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
  • 121,723
  • 75
  • 151
  • 166
268
votes
24 answers

"Unable to find remote helper for 'https'" during git clone

I am unable to clone HTTPS repositories. I can clone SSH repos fine, but not HTTPS repos. I cannot test the GIT protocol since I am behind a corporate firewall. This is what I am trying to do: $ git clone https://github.com/nvie/gitflow.git Cloning…
Ben K
  • 2,907
  • 3
  • 15
  • 17
264
votes
6 answers

Adding a new entry to the PATH variable in ZSH

I'm using zsh and I'm trying to add a new entry (/home/david/pear/bin) to the PATH variable but I don't know how. The thing that confuses me the most is that there's not a single reference to a PATH variable in my ~/.zshrc file, but doing echo $PATH…
David Barreto
  • 6,588
  • 6
  • 28
  • 44
261
votes
5 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
  • 7,347
  • 6
  • 19
  • 11
261
votes
19 answers

sqlite3-ruby install error on Ubuntu

I have the following error during sqlite3-ruby install: Building native extensions. This could take a while... ERROR: Error installing sqlite3-ruby: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for…
Dmitry
  • 6,992
  • 5
  • 27
  • 49
259
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,243
  • 2
  • 22
  • 24
253
votes
24 answers

Docker command can't connect to Docker daemon

I want to make a move to Docker, so I've just started to mess around with it. I've installed Docker on a VirtualBox Ubuntu 15.10 (Wily Werewolf) installation and as suggested here I then tried running a basic nginx Docker image: $ docker run --name…
kramer65
  • 39,074
  • 90
  • 255
  • 436
251
votes
1 answer

What are the differences and similarities between ffmpeg, libav, and avconv?

When I run ffmpeg on Ubuntu, it shows: $ ffmpeg ffmpeg version v0.8, Copyright (c) 2000-2011 the Libav developers built on Feb 28 2012 13:27:36 with gcc 4.6.1 This program is not developed anymore and is only provided for compatibility. Use…
why
  • 21,267
  • 27
  • 91
  • 134
249
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
  • 40,704
  • 43
  • 97
  • 111