Tags » Ubuntu.

How to upgrade specific package in Ubuntu

In order to upgrade a specific package in Debian-based Linux operating systems, use apt-get install and provide upgrade flag:

# apt-get install –only-upgrade <package_name>

Ubuntu

How to compile and install wget and RStudio Server from source code (via Github) in Ubuntu 14.04 LTS 64-bit

# bash shell script for Ubuntu 14.04 LTS 64-bit:
# Free disk space required: around 5 GB
# Minimum internal memory/RAM requirements: 4 GB RAM minimum
# Time required to execute 'sudo make' compilation of RStudio source code: around 45 minutes, maybe even more 
# sudo checkinstall process should take around 20 minutes to finish
# REQUIRES: newest version of wget compiled from Github sources
# Copy-paste the following commands into the Terminal one by one:
# install newest version of wget from Github sources in order to solve following wget issue in Ubuntu 14.04 LTS : 
# https://github.com/chapmanb/bcbio-nextgen/issues/1133
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes install libqtwebkit-dev checkinstall qtbase5-dev pandoc r-base
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes install libboost-all-dev cmake libqt4-dev build-essential default-jdk
sudo DEBIAN_FRONTEND=noninteractive apt-get --yes --force-yes build-dep wget
cd
sudo rm -rf wget
sudo rm /usr/bin/rstudio*
git clone https://github.com/mirror/wget.git
cd wget
./bootstrap
./configure
sudo make
sudo checkinstall
# Press 3 and ENTER and then set version to 1.17.1.13
apt-cache show wget
# Terminal output should look like this:
# apt-cache show wget
# Package: wget
# Status: install ok installed
# Priority: extra
# Section: checkinstall
# Installed-Size: 3864
# Maintainer: root
# Architecture: amd64
# Version: 1.17.1.13-1
# Provides: wget
# Conffiles:
# /etc/wgetrc 618c05b4106ad20141dcf6deada2e87f obsolete
# Description: Package created with checkinstall 1.6.2
# Description-md5: 556b8d22567101c7733f37ce6557412e
# compile and install RStudio Server from source code:
cd
git clone https://github.com/rstudio/rstudio.git
cd rstudio/
mkdir build
cd build/
cd ~/rstudio/dependencies/common
bash install-common
bash install-common
cd
bash ~/rstudio/dependencies/linux/install-dependencies-debian
bash ~/rstudio/dependencies/linux/install-dependencies-debian
cd /tmp
wget http://dl.google.com/closure-compiler/compiler-latest.zip
unzip compiler-latest.zip
rm COPYING README.md compiler-latest.zip
sudo mv compiler.jar ~/rstudio/src/gwt/tools/compiler/compiler.jar
cd ~/rstudio
sudo rm -rf build
sudo cmake -DRSTUDIO_TARGET=Server -DCMAKE_BUILD_TYPE=Release
time sudo make
# sudo make install process should take around 45 minutes to finish
time sudo checkinstall
# sudo checkinstall process should take around 20 minutes to finish
apt-cache show rstudio
# Terminal output should look like this:
# Package: rstudio
# Status: install ok installed
# Priority: extra
# Section: checkinstall
# Installed-Size: 293492
# Maintainer: root
# Architecture: amd64
# Version: 20160206-1
# Provides: rstudio
# Description: Package created with checkinstall 1.6.2
# Description-md5: 556b8d22567101c7733f37ce6557412e
sudo ln -s /usr/local/lib/rstudio-server/bin/rserver /usr/bin
nohup rserver &
# then use a web browser to navigate to http://127.0.0.1:8787/ to access the RStudio Server interface
Ubuntu

How to compile and install newest version of librecad via Github in Ubuntu 14.04 LTS 64-bit

cd
sudo rm -rf LibreCAD
sudo apt-get update
sudo apt-get purge librecad
sudo apt-get install g++ gcc make git-core libqt4-dev qt4-qmake libqt4-help
sudo apt-get install  qt4-dev-tools libboost-all-dev libmuparser-dev libfreetype6-dev pkg-config
sudo apt-get build-dep librecad
git clone https://github.com/LibreCAD/LibreCAD.git
cd LibreCAD/
qmake-qt4 -r
sudo make
sudo make install
~/LibreCAD/unix/librecad
Ubuntu

Coming soon: shadows for shaped windows.

I am about to finish a new visual effect on Unity 7 desktop so that the shaped windows (those that are not rectangular) can have shadows too. 39 more words

Ubuntu

Cara Tes Flash Drive Speed via Terminal di Ubuntu

Hai.. sobat ubuntu..

Ceritanya hari ini saya beli flash drive (umumnya dibilang flash disk) USB 3.0. Pada kemasan kecepatan tertulis up to 130mb/s, karena penasaran saya mau coba tes kecepatannya sesuai gak sama yang ada dikemasan. 129 more words

Berbagi

Permission pada File dan Direktori

Permission untuk file dan direktori terdiri dari tiga jenis permission dan berlaku untuk tiga jenis role. Tiga role yang ada yaitu User, Group, dan Others… 353 more words

Ubuntu

alias ll=?

On Ubuntu the default alias for ll is:

alias ll='ls -alF'

but my favourite one is:

alias ll='ls -lrht --group-directories-first'

(or “list sorted by modification time, reversed, in long format, human readable with folders first”). 17 more words

Sys