Foreign Minister Edgars Rinkēvičs took to Twitter after the crash to offer his condolences.
Je présente mes condoléances au gouvernement algérien et aux familles des victimes du terrible crash d’avion// My condolences to Algerian government and families of victims of terrible airplane crash near #Boufarik airport in #Algeria— Edgars Rinkēvičs (@edgarsrinkevics) April 11, 2018
Likewise, the Latvian Ministry of Foreign Affairs also expressed sympathy to the country on its website:
"Latvia offers its deepest condolences to Algeria on the crash of a military aircraft that took the lives of at least 257 people – Algerian military personnel, their families, and crew members. The crash occurred shortly after takeoff from a military base in Boufarik, not far from the nation’s capital, Algiers."