# set http proxy
export http_proxy=http://127.0.0.1:8080
# set http proxy with user and password
export http_proxy=http://USERNAME:PASSWORD@127.0.0.1:8080
# set http proxy with user and password (with special characters)
export http_proxy=http://`urlencode 'USERNAME'`:`urlencode 'PASSWORD'`@127.0.0.1:8080This guide will show you how to use Intel graphics for rendering display and NVIDIA graphics for CUDA computing on Ubuntu 18.04 desktop.
I made this work on an ordinary gaming PC with two graphics devices, an Intel UHD Graphics 630 plus an NVIDIA GeForce GTX 1080 Ti.
Both of them can be shown via lspci | grep VGA.
00:02.0 VGA compatible controller: Intel Corporation Device 3e92
01:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)
Read manufacturer manual: http://h10032.www1.hp.com/ctg/Manual/c05819688 (archived link).
Install PowerTOP (https://01.org/powertop/) and TLP (https://linrunner.de/en/tlp/tlp.html) tools.
sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install powertop tlp tlp-rdw
A common mistake for users who are new to Linux (and even a few seasoned users) is to install a package from source without any clear idea about how they will remove it in the future, should they want to.
The classic instructions to install a source package are ./configure && make && make install. This (or slight variants) can work nicely for installation but
| = Some yum usage for people who know "apt" = | |
| If you are familiar with the apt package manager on Debian/Ubuntu this page should help you transfer your knowledge to working with yum on Fedora/RHEL/CentOS/etc. | |
| Note that this page as currently written is by non-apt experts, so there may be some mistakes. | |
| == General points == | |
| * Speed: | |
| * data/CPU: apt on Debian deals with roughly ~37,000 packages[1] and an extra 6,500 "provides"[2]. yum on Fedora deals with roughly 24,000 packages, 143,000 provides and 3,100,000 file provides. |