How To Install libsass on Fedora 34
Introduction
In this tutorial we learn how to install libsass
on Fedora 34.
What is libsass
Libsass is a C/C++ port of the Sass CSS precompiler. The original version was written in Ruby, but this version is meant for efficiency and portability. This library strives to be light, simple, and easy to build and integrate with a variety of platforms and languages. Libsass is just a library, but if you want to RUN libsass, install the sassc package. libsass 3.6.4 3.fc34 x86_64 706 k libsass-3.6.4-3.fc34.src.rpm fedora C/C++ port of the Sass CSS precompiler http MIT Libsass is a C/C++ port of the Sass CSS precompiler. The original version was written in Ruby, but this version is meant for efficiency and portability. This library strives to be light, simple, and easy to build and integrate with a variety of platforms and languages. Libsass is just a library, but if you want to RUN libsass, install the sassc package.
We can use yum
or dnf
to install libsass
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libsass.
Install libsass on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libsass
using dnf
by running the following command:
sudo dnf -y install libsass
Install libsass on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libsass
using yum
by running the following command:
sudo yum -y install libsass
How To Uninstall libsass on Fedora 34
To uninstall only the libsass
package we can use the following command:
sudo dnf remove libsass
libsass Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/72fa1e538defe1357c393556dd930add796a6b
/usr/lib/libsass.so.1
/usr/lib/libsass.so.1.0.0
/usr/share/doc/libsass
/usr/share/doc/libsass/Readme.md
/usr/share/doc/libsass/SECURITY.md
/usr/share/licenses/libsass
/usr/share/licenses/libsass/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/e421f7553f24793d804f8bd4646147f0d83ac8
/usr/lib64/libsass.so.1
/usr/lib64/libsass.so.1.0.0
/usr/share/doc/libsass
/usr/share/doc/libsass/Readme.md
/usr/share/doc/libsass/SECURITY.md
/usr/share/licenses/libsass
/usr/share/licenses/libsass/LICENSE
References
- [libsass website](http://sass-lang.com/libsass http://sass-lang.com/libsass)
Summary
In this tutorial we learn how to install libsass
on Fedora 34 using yum and dnf.