Lxml: Difference between revisions

No edit summary
No edit summary
 
Line 2: Line 2:
To install the package with all the required dependencies on the Linux system, one can use the installation tools, i.e., apt-get. You can follow the following command to install it along with all the packages.
To install the package with all the required dependencies on the Linux system, one can use the installation tools, i.e., apt-get. You can follow the following command to install it along with all the packages.


<syntaxhighlight lang="bash">
 
sudo apt-get install libxml2-dev libxslt-dev python-dev
sudo apt-get install libxml2-dev libxslt-dev python-dev
</syntaxhighlight>
 


Or, you can also use the following command for the same without mentioning the name of the required dependency.
Or, you can also use the following command for the same without mentioning the name of the required dependency.


<syntaxhighlight lang="bash">
sudo apt-get build-dep python3-lxml
sudo apt-get build-dep python3-lxml
</syntaxhighlight>


==Source==
==Source==