I have ubuntu 16.10 version installed. I uninstalled gtk using sudo apt-get remove --purge gtk2.0. After rebooting, my whole gui is not loading, no login screen also. I can access other terminals using Ctrl+Alt+f1. How can i get my gui interface back?. Anyhelp is appreciated.thanks.
You might probably want to try this:
sudo apt-get install ubuntu-desktop^
This should install all the packages of standard Ubuntu Desktop that you've removed.
Alternatively, you can check the logs of apt /var/log/apt/history.log and install back the packages that got removed.
Related
I do not have an access to the internet from my device with Ubuntu 18.04 software and my question is how could I install a desktop?
sudo apt-get ubuntu-desktop doesn't work so I thought that it is possible to install it from the source, but I can't find it.
First, install the taskel manager
sudo apt-get install taskel
Then, you can choose a Dislpay manager, I suggest lightdm
sudo apt-get install lightdm
Then, choose your desktop enviroment.
For GNOME: run taskel.
For KDE Plasma: run sudo apt-get install kde-plasma-desktop
You have a variety of Desktop Enviroments you can find here
Running Ubuntu 19.10.
Have installed fwupd from the snap store as follows:
command:
sudo snap install --classic fwupd
result:
Setup snap "fwupd" (1501) security profiles
fwupd 1.3.6 from Richard Hughes installed
I'm trying to follow the basic usage flow to update firmware, as documented here: https://github.com/fwupd/fwupd. I can't get past the first step:
sudo fwupdmgr get-devices
Unsupported daemon version 1.3.6, client version is 1.2.10
It would seem I need to update the client, but I'm not sure how do that.
The solution is to either run:
fwupd.fwupdmgr get-devices
if you have both the snap and deb versions installed on your machine,
Or, in my case, I removed the snap version, purged, then reinstalled the deb version and all worked again as normal:
sudo snap remove fwupd
sudo apt-get purge fwupd
sudo apt-get install fwupd
I had to reinstall fwupd because I was still getting errors after removing the snap version.
Install Abaqus CAE on ubuntu, after selecting install directory and proceed, got following error
Creating child process failed. Log ID is 0001
Action LaunchAPpAction from freature CODE\Linux_a64\SIMCAE_TP.PRD FAILED.
Action ID: verifyNoDeltaInstall
Anybody know how to solve this problem? Thx
Had the same problem. Solved by installing glibc.
On RHEL6
sudo yum install glibc.i686
On Ubuntu 16.04 with Abaqus2017, I installed
sudo apt-get install lsb-core
sudo apt-get install libjpeg62
to get rid of this error
I had to install perl on Red Hat Enterprise Linux release 8.5 (Ootpa) to fix it:
yum install perl
I downloded android studio and I tried to install on ubuntu 16.04 64 bit but it has "unable to run mksdcard sdk tool" error.
I checked all solutions but they produce errors too.
Seems that the only package you need is lib32stdc++6 for ubuntu 16.04
sudo apt-get install lib32stdc++6
I just stumbled upon this issue myself.
I guess that you found this topic from 2015?
Well, the given solution is a bit outdated but still pertinent: the 64bit Ubuntu 16.04 is indeed missing the 32bits version of the libraries and the
lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 libraries advised to be installed seems to have been removed from the official repos.
However You can still get them with using this command:
sudo apt-get install libz1:i386 libncurses5:i386 libbz2-1.0:i386 libstdc++6:i386
Then the installer should work just fine
Hope it will be of any help.
take a look at https://developer.android.com/studio/install.html
Select Linux...
Required libraries for 64-bit machines:
If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
If you are running 64-bit Fedora, the command is:
sudo yum install zlib.i686 ncurses-libs.i686 bzip2-libs.i686
For Ubuntu 18.04 and above versions, the following will work
sudo apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
Ubuntu18.04
I installed Ubuntu 11.10, installed GNOME 3 (replaced Unity), installed Eclipse from the Ubuntu Software Center, installed the android sdk and ADT.
Now when I start eclipse I get a message saying:
Failed to get ADB version : Cannot run program
/home/ayush/android-sdk/platform-tools/adb":java.io.IOException:error=2,
No such file or directory
What is causing this error and how do I fix it?
The command to install IA32 libraries on Ubuntu is:
apt-get install ia32-libs
sudo dpkg --add-architecture i386
sudo apt-get update
apt-get install ia32-libs
Before that please check your ubuntu version. if you are running with 64 bits, you need to install a linux emulator, IA32 bit I thinks. Verify on Google.
after that, your ADB can run easily on ubuntu.
I'm using Fedora 17 and I got the same error as the poster:
[2013-08-29 21:44:08 - adb] Unexpected exception 'Cannot run program
"/home/el/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/adb":
error=2, No such file or directory' while attempting to get adb version from
'/home/el/adt-bundle-linux-x86_64-20130729/sdk/platform-tools/adb'
I know this works if you are using Fedora 17/18 (login as root)
yum install redhat-lsb.i686
And then restart the IDE and the errors no longer show.
I had the exact same error as you had, but on my Ubuntu 12.04 LTS version.
The following avoided that error for me:
1) Install 'adb' and 'fastboot' provided by the following third-party PPA.
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install android-tools-adb android-tools-fastboot
2) Replace the copy of 'adb' and 'fastboot' provided by the official Android SDK with those installed from the above step:
cp /usr/bin/adb <path-to-your-adt-sdk-package>/sdk/platform-tools/adb
cp /usr/bin/fastboot <path-to-your-adt-sdk-package>/sdk/platform-tools/fastboot
3) Restart(re-execute) your eclipse binary.
Full credits:
http://www.webupd8.org/2012/08/install-adb-and-fastboot-android-tools.html
They have the binaries for 12.10, 11.10 and 11.04 as well.
Don't try to install ia32-libs, this library has been obsoleted.
So, you should install these libraries:
sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5
Cheers