Cannot launch AVD in emulator. Output: sh: 1: glxinfo: - android-virtual-device

Cannot launch AVD in emulator. Output: sh: 1: glxinfo: not found Could not launch '.../sdk/tools/qemu/linux-x86/qem u-system-i386': No such file or directory

You need to install the tool. On Ubuntu you can do:
sudo apt-get update && sudo apt-get install mesa-utils

Related

sudo: apt-get: command not found while installing lex and ycc tools via terminal

image_terminalI am trying to install Lex and Ycc Tools via Terminal on a Mac M1.Whenever I run command sudo apt-get update ,I am getting (sudo: apt-get: command not found)
what is the reason behind it.
Care to help?

Can i install Rstudio in kali linux?

I have installed anaconda on my kali linux OS. I am getting Rstudio as an option to install on navigator but when I click on it, it just loads and there is no progress. I even used terminal to do so, but it just points out some problems and is unable to fix it. I can't even find an option on Rstudio website to install for kali linux OS.
Use the following command to install Rstudio on Kali linux:
sudo apt update<br>
sudo apt -y upgrade<br>
sudo apt -y install r-base<br>
wget https://download1.rstudio.org/desktop/debian9/x86_64/rstudio-1.2.5042-amd64.deb<br>
sudo apt install ./rstudio-1.2.5042-amd64.deb<br>
If you encounter any dependency problems, run:
sudo apt -f install
For starting Rstudio, run:<br>
$ rstudio
Source: https://computingforgeeks.com/how-to-install-r-and-rstudio-on-ubuntu-debian-mint/

-bash: pod: command not found

I am taking a course from Udemy for iOS 10 (swift 3) programming. An app works with Firebase and Firebase requires a pod file. In the course, it said to type the following commands in Terminal to install a pod:
cd Desktop/
ln
cd dc-social
ln
pod init
But when I run the pod init command, it gives me an error:
-bash: pod: command not found
I am running macOS Sierra (the final release). What should I do? Any help would be appreciated :)
Thanks!
try to run this first
(it will ask your admin password)
sudo gem install -n /usr/local/bin cocoapods
In my case I was unable to install with gem (sudo gem install cocoapods) but successfully installed with homebrew:
brew install cocoapods
I am in the same course and got the same problem. I found out that we have to install cocapods before we run that command. So do the following in your terminal (it will ask for your password):
sudo gem install cocoapods
This will install some stuff and then you will be able to run the "init pod command".
Maybe a little late, but often you can't do a sudo when your not an admin.
Then do this, open the terminal. Change to an admin user with
su 'theadminName'
Type the admin password.
Then do
sudo gem install cocoapods

Installation of Rstudio for ubuntu

I want to install Rstudio for ubuntu, so I used the link https://www.rstudio.com/products/rstudio/download/ after that I choosen RStudio 0.99.893 - Ubuntu 12.04+/Debian 8+ (64-bit) then I opened with Ubuntu software center. In that I clicked the install button I got error box like this,
Requires installation of untrusted packages
This requires installing packages from unauthenticated sources.
How to solve this problem?
The unauthenticated package required by RStudio is libjpeg62, so install the package separately and then install rstudio from software center
In the terminal run the following for installing libjpeg62
sudo apt-get install --allow-unauthenticated libjpeg62
Then go back to installing rstudio.
Note: you need to install r interpretor along with rstudio this you can do by following
sudo apt-get install r-base
# Install R and RStudio on Ubuntu 14.04
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
# Download and Install RStudio
sudo apt-get install gdebi-core
wget https://download1.rstudio.org/rstudio-1.0.44-amd64.deb
sudo gdebi rstudio-1.0.44-amd64.deb
Runs following commands :
In order to install RStudio on Ubuntu 18.04 we will first need to install the r-base package. Open up terminal and enter:
$ sudo apt update
$ sudo apt -y install r-base
To install DEB file on Ubuntu Linux is by using the gdebi command.
In case gdebi is not available on your system you can install it by executing the bellow command:
$ sudo apt install gdebi-core
All Package(builds) are available : in this link or link. You can select different package.
I had download and install : rstudio-xenial-1.1.463-amd64.deb build(package) from above in this link.
$ wget https://s3.amazonaws.com/rstudio-dailybuilds/rstudio-xenial-1.1.463-amd64.deb
$ sudo gdebi rstudio-xenial-1.1.463-amd64.deb
To Start R-Studdio from following command :
$ rstudio

-bash: phonegap: command not found (Mac OS)

I just installed phonegap and cordova using npm on my Macbook (Mac OS X Mountain Lion) using these commands on the command line.
sudo npm install -g cordova
sudo npm install -g phonegap
Both Phonegap and cordova seemed to install fine, but when I tried:
myMac:~ user$ cordova
myMac:~ user$ phonegap
I got the messages:
-bash: cordova: command not found
-bash: phonegap: command not found
both were installed, why does the command not work.
I know that this is an old question, but I think that my answer will be helpful.
I got the same problem and solve by creating a symlink:
cd /usr/local/bin/
sudo ln -s /usr/local/Cellar/node/6.0.0/bin/phonegap phonegap
sudo ln -s /usr/local/Cellar/node/6.0.0/bin/cordova cordova
Remember to change this path /usr/local/Cellar/node/6.0.0/bin/ to yours installation folder.
[]s

Resources