Add new user to sudoers:
$ vi /etc/sudoers
username ALL=(ALL) NOPASSWD:ALL
To request password remove NOPASSWD:
username ALL=(ALL) ALL
Add new user to sudoers:
$ vi /etc/sudoers
username ALL=(ALL) NOPASSWD:ALL
To request password remove NOPASSWD:
username ALL=(ALL) ALL
Little bit late tonight, but I promise to you I'm going to explain the details:
Quick steps:
$ WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks d3dcompiler_47 dotnet472 vcrun2010 corefonts
$ WINEARCH=win32 WINEPREFIX=/home/$USER/GarminExpress winetricks win7
$ WINEPREFIX=/home/$USER/GarminExpress wine-stable explorer /desktop=garmin,1366x768 /home/$USER/Downloads/GarminExpress.exe
This works with the latest version Garmin Express 7.1.0.0.
Have a nice day.
You can recompile your favorite package:
First you have to install this package:
apt install build-essential
In this example were going to rebuild midnight commander:
Create file for your custom flags under /etc/dpkg/buildflags.conf:
APPEND CFLAGS -march=native
APPEND CXXFLAGS -march=native
APPEND LDFLAGS
-fuse-ld=lld
$ apt source mc
$ apt build-dep mc
$ dpkg-source -x mc-revision.dsc # this is optional, extract source package
$ cd mc-revision
$ debian/rules binary
I had to set up PATH for ldconfig:
$ PATH=/usr/sbin:$PATH dpkg -i mc-revision.deb
or "single" liner (or course you need fakeroot or su):
#
apt build-dep mc
$ apt-get --build source mc
Or is a better to use apt-build to fetch and optimize packages for your machine.
After you got the packages you can install with dpkg.
$ dpkg -i mc
Or you can create your local repository:
$ sudo mkdir -p /usr/local/mydebs
$ cd
/usr/local/mydebs
$ dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz
Add this one to sources
(/etc/apt/sources.list) :
deb[trusted=yes] file:/usr/local/mydebs ./
sudo apt-get update
And you your a happy owner of your own super native repositorty.
To get Gerrit repository meta config:
git fetch origin refs/meta/config:refs/remotes/origin/meta/config
git checkout meta/config
And upload your changes:
git commit -a -m "Added label - Verified"
git push origin meta/config:meta/config