Hi
I have this laptop https://www.asus.com/laptops/for-gaming/tuf-gaming/asus-tuf-gaming-a16-advantage-edition-2023/
And I got adviced to run this command:
curl -sSL https://raw.githubusercontent.com/andreas-glaser/asus-linux-mint/main/install-asus-linux.sh | bash
It should install all control essentials.
Is this safe to run on my device?
Can i change settings inside to something like ASUS_BUILD_DIR="/tmp/asus-build" ./install-asus-linux.sh to speed it up?
3 Likes
Hi there,
To address your questions regarding the installation script for your TUF A16:
Security & Safety
The script from the asus-linux community is generally safe and widely used. However, the standard “best practice” in the Linux community to avoid security risks is to download and inspect the script before running it. Instead of piping curl directly to sh, use:
curl -LO \[script-url\]
nano install-asus-linux.sh # To verify the code
chmod +x install-asus-linux.sh
./install-asus-linux.sh
Build Directory Optimization
Setting ASUS_BUILD_DIR to /tmp won’t significantly “speed up” the installation. Since /tmp is usually a tmpfs (RAM-based), it saves some SSD wear, but for a utility of this size, the compilation time difference will be negligible. The script mainly handles dependency resolution and service configuration rather than heavy compilation.
Note:
Since you are on the Advantage Edition (All-AMD), ensure that your kernel is up to date (6.1+ recommended) to support the hardware sensors. Also, keep in mind that asusctl might conflict with the default power-profiles-daemon. You may need to mask the latter to let the Asus utilities manage your power states correctly.
If you encounter any specific error logs during the process, please post them here so we can take a closer look.
1 Like