When I installed myself calсulate linux, I don't remember what exactly, but either I installed firefox using emerge and it was not the most recent version, or another program and it was not installed at all.
But then I found a way out using ebuild. Ebuild is a low-level interface to the Portage system. I did not know then what it was, and what it was for, and how to use it, but when I went to the /usr/portage/www-client/firefox folder I saw an ebuild with different versions of the program. I got interested and on googling I learned how to use ebuild to install the program.
First, download the source code for the
ebuild program here, write the path to the file-ebuild fetch
if you get an error about checksum mismatch execute
ebuild here we write the path to the ebuild digest file
Unpack the downloaded archive with the source codes of the program by default in /var/tmp/portage specified in /etc/make.conf
To to compile the program run the following
ebuild here we write the path to the file-ebuild compile
Install all files in the temporary directory
ebuild here we write the path to the file-ebuild install
Register all files in the portage system and transfer to the working file system
ebuild here we write the path to the file-ebuild qmerge
Now let's clear the temporary directory
ebuild here we write the path to the file-ebuild clean
You can also run all commands installation at a time with this command
ebuild here we write the path to the file-ebuild merge
Sometimes you may need to configure the package
ebuild here we write the path to the file-ebuild config