How do Install ROS Gazebo on Pop!_OS 20.10 x86_64 Codename:groovy - linux

tried the following getting this on terminal
sudo apt-get install ros-kinetic-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-kinetic-desktop
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
also followed all this steps still i cant find it
my pop os code name is Groovy apparently all of the codenames have different package names which are suitable plz help me find the correct one

The Pop!_OS 20.10 distribution is based on Ubuntu 20.10 (Groovy) and has similar packages/dependencies versions accordingly.
ROS Kinetic Kame, you've tried to install, supports at max Ubuntu Xenial (16.04) so couldn't be installed on 20.10-based Ubuntu distribution because of dependencies.
The latest version of ROS (Noetic Ninjemys) officially supported on Ubuntu Focal Fossa (20.04) and should work on Pop!_OS 20.04. So, to install ROS you have the following options:
Downgrade your OS to 16.04
Downgrade your OS to 20.04 and use ROS Noetic
Use Linux containers on the current OS 20.10 to solve OS/ROS compatibility issue.

Related

Problem installing libigraph1 on Ubuntu 22.04 LTS

In the purpose of using tgen, I need to run the following command.
sudo apt-get install cmake libglib2.0-0 libglib2.0-dev libigraph1 libigraph-dev
But I have the following problem
Reading package lists Done
Building dependency tree Done
Reading state information Done
E: Unable to locate package libigraph1
My system is running on Ubuntu 22.04.1 LTS
I searched for way to correct the problem or even workaround but found nothing.
Can someone help me ?
22.04 has libigraph2, not libigraph1
https://packages.ubuntu.com/jammy/libigraph2

How to upgrade GitLab CE from Ubuntu 16.04 to Ubuntu 18.04?

Can someone explain me how I can upgrade a running gitlab CE on Ubuntu 16.04 to Ubuntu 18.04?
I could not find any relevant documentation for this upgrade path
It is clear to upgrade ubuntu with
sudo apt update
sudo apt upgrade
sudo do-release-upgrade
But what is needed to tell rerun the setup/upgrade on gitlab?
If you upgrade your Ubuntu Version from 16.04 to 18.04, you also need to alter the repository path for debian packages provided by GitLab Inc.
If you inspect the installation/configuration script available on GitLab.com, you will see that there should be a file in /etc/apt/sources.list.d/ which contains gitlab in its filename.
Simply replace its content with the following lines:
deb https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ bionic main
deb-src https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu/ bionic main
You are now able to upgrade GitLab using the new package repository for your upgraded Ubuntu System:
sudo apt update
sudo apt upgrade
If you mean update Ubuntu from 16.04 to 18.04 then here's the steps:
I did that a couple of days ago.
lsb_release -a # This is just to check the. Ubuntu version
sudo apt update
sudo apt upgrade
This will make sure that you have all the packages updated. The upgrade will not start if you don't have them upgraded.
Then for the actual upgrade
sudo do-release-upgrade
NOTE
1 - The above command might fail because "you have to upgrade all the packages before" please inspect the output of sudo apt upgrade maybe you have a dependency issue & not all the packages are upgraded
2- Please make sure you have all your data backed up before doing the upgrade. I'm assuming that you doing the upgrade via SSH which may be troublesome.
For me, the upgrade got stuck while trying to update the openSSH config files. What I did is that I closed the current SSH session ( tmux ) opened a new session & rebooted the server.
After the server is rebooted
lsb_release -a
Should show
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

Error while installinng libimobiledevice in ubuntu 14.04

After installing libimobiledevice in ubuntu 14.04, when I run command 'ideviceinfo' it is generating error
'Could not connect to lockdownd, error "code -5"'
I have other dependencies - build-essential
libudev-dev,
libimobiledevice6,
libimobiledevice-utils,
libusb-1.0-0-dev,
libimobiledevice-dev,
libzip-dev
Correctly installed with no error.
Can I get some advices about the error ?
You didn't mention how you acquired libimobiledevice - did you install it via apt-get or did you compile it from source?
Ubuntu 14.04 ships with a very old version of libimobiledevice, and there have been changes made to libimobiledevice to provide compatibility with newer versions of iOS which are probably not in Ubuntu 14.04.
We host a PPA which provides up-to-date builds of libimobiledevice; currently only for Ubuntu 16.04 though. You can find it at https://launchpad.net/~quamotion/+archive/ubuntu/ppa/+packages .
Let me know if you need help configuring the PPA and installing the latest libimobiledevice.

How to install JavaPackage on ubuntu

I came across a debian application by the name JavaPackage which can create a debian installation file (.deb) form a java binary (.tar.gz) which you can then install using dpkg -i application_name.deb. With Ubuntu being a debian-based linux distribution, it is possible that it can be installed on ubuntu as well.
How do I go about installing it on Ubuntu/Kubuntu 16.04.2 LTS?
java-package is available in the official ubuntu repositories. All you need to do is update the repository with the latest version then install it as shown below:
sudo apt-get update
sudo apt-get install java-package

Ubuntu 11.04 apt-get install libncurses5-dev no candidate

I am linux total newbie. I would like to install new packages but I am not able to do this with some:
I try
sudo apt-get install libncurses5-dev
E: Package 'libncurses5-dev' has no installation candidate
or
sudo apt-get install kernel-package fakeroot
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package kernel-package is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'kernel-package' has no installation candidate
Same problem for example with samba.
My Ubuntu version is:
Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty
2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux
11.04 isn't supported anymore, you should really update at least to the next supporetd LTS version (12.04).
Otherwise you'd need to update your /etc/apt/sources.list to point to http://old-releases.ubuntu.com instead of the repository currently used, as the default ubuntu sources and mirrors don't contain the packages for 11.04 anymore.

Resources