How to install GTK3 and Firefox on Amazon Linux (EC2) instance? - firefox

I'm trying to install the firefox on amazon linux (ec2) instance.. but this seems very difficult as gtk3 cannot be installed directly via yum.
I've seen some articles here. but not very helpful.
Thanks,

Considering its an amazon-linux-2 (you can check with--> cat /etc/os-release)
Install Dependencies for Firefox->
sudo yum install -y gtk3
sudo yum install -y libdbusmenu
sudo yum install -y libdbusmenu-jsonloader
Installing FireFox:
cd /opt
sudo wget
https://download-installer.cdn.mozilla.net/pub/firefox/releases/93.0/linux-x86_64/en-US/firefox-93.0.tar.bz2
sudo tar xfj firefox-93.0.tar.bz2
firefox --version
sudo ln -s /opt/firefox/firefox /usr/bin/firefox

Related

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/

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

How do I install Ruby on Rails on Ubuntu 14.04 LTS With RVM and With Passenger for Apache2

I am having trouble installing Ruby on Rails via RVM with Passenger for Apache2. I do not know weather I need to install some more dependency's for Rails or what. I have tried for the last month now and can still not figure it out.
I would be very grateful if someone could put down in the suggestions a list of commands I would need to install all of this correctly.
Thanks in advance.
For rails, try:
sudo apt-get update
sudo apt-get -y upgrade
## Git y Curl
sudo apt-get install -y git curl
sudo apt-get install -y libcurl4-openssl-dev
## Javascript Runtime (nodejs)
sudo apt-get install -y nodejs
## FreeTDS
sudo apt-get install -y freetds-dev
curl -L https://get.rvm.io | bash -s stable --rails
I hope it helps you.

how to install apt-get, raspbian

I am doing host target development within scratchbox. And apt-get is not installed in my target raspbian rootfile system.
What is the right apt-get package to use from here for raspbian ?
http://www.apt-get.org/main/
Should i use wget command for .deb package of apt-get ?
http://www.cyberciti.biz/tips/linux-wget-your-ultimate-command-line-downloader.html
http://www.thegeekstuff.com/2009/09/the-ultimate-wget-download-guide-with-15-awesome-examples/#more-1885
dpkg is installed in root filesystem of my target, i have checked it using whereis command
Please suggest, or can you suggest some link for installing apt-get itself. I am not able to find something related to it.
Any reply will be appreciable.
Looks like maybe debian apt package will get you there. I thought apt was just ubuntu but no.
The Raspbian FAQ is here: http://www.raspbian.org/RaspbianFAQ
In it you can grab a list of apps included in Rasbian:
http://archive.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages
You can grab the Raspbian package archive here:
http://archive.raspbian.org/raspbian/dists/wheezy/main/binary-armhf/Packages.gz
Extract it, then use dpkg to install apt-get.
Install Putty.exe and login with putty to your raspbian with ip-adress of your raspbian and you can install apt-get!
Install the following:
sudo apt-get update;
sudo apt-get install gcc;
sudo apt-get install autoconf;
sudo apt-get install libtool;
sudo apt-get install pkg-config;
sudo apt-get install libselinux1-dev;
sudo apt-get install liblockdev1-dev;
sudo apt-get install gawk;
sudo apt-get install g++;
sudo apt-get install c++;
sudo apt-get install libgudev-1.0-dev;
sudo apt-get install libudev-dev;
mkdir -p $HOME/distr/libcec;
wget -P $HOME/distr/libcec https://github.com/Pulse-Eight/libcec/archive/master.zip;
unzip $HOME/distr/libcec/master.zip -d $HOME/distr/libcec/;
cd $HOME/distr/libcec/libcec-master ./bootstrap;"
./configure --with-rpi-include-path=/opt/vc/include --with-rpi-lib-path=/opt/vc/lib --enable-rpi;
make;
sudo make install;
sudo apt-get install cec-utils;
sudo apt-get update
sudo apt-get dist-upgrade
sudo rpi-update
sudo reboot
After the reboot, is everything up-to-date and you have no problems anymore!

Does there exist Amazon EC2 AMI preconfigured with PHP4?

I'm having a very difficult time setting up a PHP4 LAMP stack on an EC2 instance. Does anyone know of any pre-configured AMI which supports PHP4?
For the record, I do not have the option to develop in PHP5
Getting a php LAMP stack running on EC2 is rather painless, and you don't need a custom AMI. Using a standard Amazon Linux instance, log in as ec2-user and run these commands:
sudo yum update -y
sudo yum install -y mysql-server mysql-client mysql-libs mysql-devel
sudo yum install -y httpd php
Amazon does a good job of curating the packages in their yum repository, which is auto-configured with Amazon Linux. If you want to upgrade to php 5.4.8 simply execute this command instead:
sudo yum install -y php54
EDIT: Sorry, the php package is actually version 5.3.8, so if you really want to install php4, your best bet is to build it from source. It will likely be tough to support it ongoing. You'll likely need at least these standard packages installed to build it:
sudo yum install -y gcc gcc-c++ make zlib zlib-devel
sudo yum install -y openssl openssl-devel readline readline-devel
sudo yum install -y libxml2 libxml2-devel libxslt libxslt-devel

Resources